Reply
Container background image not showing on FF
Old 03-31-2008, 02:32 PM Container background image not showing on FF
Webmaster Talker

Posts: 551
Name: Barry O' Brien
Location: Ireland
The Container background image is not showing on FF but shows on IE anyone know why? www.dragonstardesign.com
audiomad is offline
Reply With Quote
View Public Profile Visit audiomad's homepage!
 
When You Register, These Ads Go Away!
     
Old 03-31-2008, 02:42 PM Re: Container background image not showing on FF
wayfarer07's Avatar
$frontend->developer

Posts: 813
Name: Abel Mohler
Location: Asheville, North Carolina USA
I don't see any obvious difference between firefox and IE7. Am I missing something? One thing I could point out is that the #container div is not expanding to hold the floats, but I tried changing it in Firebug by setting its overflow to hidden, and I didn't see anything show up.
__________________
wayfarer07 is offline
Reply With Quote
View Public Profile
 
Old 03-31-2008, 02:54 PM Re: Container background image not showing on FF
Webmaster Talker

Posts: 551
Name: Barry O' Brien
Location: Ireland
It will only show up at the bottom of the pages where the layers you helped me with earlier
audiomad is offline
Reply With Quote
View Public Profile Visit audiomad's homepage!
 
Old 03-31-2008, 02:54 PM Re: Container background image not showing on FF
LadynRed's Avatar
Super Moderator

Posts: 6,354
Location: Tennessee
If you're going to use floats, you need to CLEAR those floats - which is what Wayfarer was pointing out.

http://css-discuss.incutio.com/?page=ClearingSpace
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-02-2008, 12:23 PM Re: Container background image not showing on FF
Webmaster Talker

Posts: 551
Name: Barry O' Brien
Location: Ireland
Tried these did not work the layers end up all over the place any other ideas?
audiomad is offline
Reply With Quote
View Public Profile Visit audiomad's homepage!
 
Old 04-02-2008, 02:07 PM Re: Container background image not showing on FF
wayfarer07's Avatar
$frontend->developer

Posts: 813
Name: Abel Mohler
Location: Asheville, North Carolina USA
Don't clear every float, no. But it is proper to clear the floats when a new row is needed.
__________________
wayfarer07 is offline
Reply With Quote
View Public Profile
 
Old 04-02-2008, 02:40 PM Re: Container background image not showing on FF
LadynRed's Avatar
Super Moderator

Posts: 6,354
Location: Tennessee
Ok, audiomad, I'm looking at your CSS. You have got a LOT of extraneous stuff in there that simply won't work. You've got z-index all over the place, as well as top and left definitions, and you're putting this on elements that are NOT positioned. Z-index, along with the top and left properties ONLY work and apply to elements that are positioned absolutely or relatively, so applying them to other elements is a waste of time as they do NOTHING.

You have <divs> stuck inside of <li></li> - that's improper coding, divs cannot be inside of lists that way.

You're using deprecated code like <div align="center"> on an XHTML Transitional doctype - this, again, shouldn't be. Alignment like that is PRESENTATIONAL and should be specified in your CSS.

To clear the floats and make the bg image on #container 'wrap' properly, you need ONE clearing element on your home page, right after the closing </div> for #footer and before you close the container. Like this:
Quote:
</div>
<br class="brclear" />
</div>

</body></html>
Quote:
.brclear { /* Use a break with this class to clear float containers on both sides. */
clear:both;
height:0;
margin:0;
font-size: 1px;
line-height: 0;
}
This works, I downloaded your page and did it.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Container background image not showing on FF
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.17184 seconds with 13 queries