I have been having some trouble with my background footer its fine when I am at the default zoom level (In all browsers), however when I zoom out it resizes/disappears.
I have two background images, a header and footer, the header resizes correctly and never disappears despite having almost exactly the same code.
CSS:
Expand|Select|Wrap|Line Numbers
- body
- {
- margin:0px;
- text-align:center;
- font-family:Arial, Helvetica, sans-serif;
- font-size:13px;
- position:absolute;
- left:50%;
- margin-left:-495px;
- min-width:990px;
- color:#000000;
- }
- .BackgroundHeader
- {
- background: #FFFFFF url() Top no-repeat fixed;
- position:absolute;
- left:50%;
- margin-left:-495px;
- min-width:990px;
- text-align: center;
- }
- .BackgroundFooter
- {
- background: #FFFFFF url() Bottom no-repeat fixed;
- position:absolute;
- left:50%;
- margin-left:-495px;
- min-width:990px;
- min-height:155px;
- text-align: center;
- }
Expand|Select|Wrap|Line Numbers
- <body>
- <div class="BackgroundHeader"/>
- <div class="MainContent">
- ...content here
- </div>
- <div class="BackgroundFooter"/>
- </body>
I'm hoping that someone else can see something I'm missing. If any more information is required let me know.