Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



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

Latest Blog Post:
Sopa, pipa, acta & tpp?
Posts: 749
Name: Barry O' Brien
Location: Ireland
Trades: 0
The Container background image is not showing on FF but shows on IE anyone know why? www.dragonstardesign.com
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
audiomad is offline
Reply With Quote
View Public Profile Visit audiomad's homepage!
 
 
Register now for full access!
Old 03-31-2008, 03:42 PM Re: Container background image not showing on FF
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
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.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 03-31-2008, 03:54 PM Re: Container background image not showing on FF
Webmaster Talker

Latest Blog Post:
Sopa, pipa, acta & tpp?
Posts: 749
Name: Barry O' Brien
Location: Ireland
Trades: 0
It will only show up at the bottom of the pages where the layers you helped me with earlier
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
audiomad is offline
Reply With Quote
View Public Profile Visit audiomad's homepage!
 
Old 03-31-2008, 03:54 PM Re: Container background image not showing on FF
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
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 !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-02-2008, 01:23 PM Re: Container background image not showing on FF
Webmaster Talker

Latest Blog Post:
Sopa, pipa, acta & tpp?
Posts: 749
Name: Barry O' Brien
Location: Ireland
Trades: 0
Tried these did not work the layers end up all over the place any other ideas?
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
audiomad is offline
Reply With Quote
View Public Profile Visit audiomad's homepage!
 
Old 04-02-2008, 03:07 PM Re: Container background image not showing on FF
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Don't clear every float, no. But it is proper to clear the floats when a new row is needed.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 04-02-2008, 03:40 PM Re: Container background image not showing on FF
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
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 !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Container background image not showing on FF
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.25504 seconds with 12 queries