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
CSS Child <div> not showing parent <div> background
Old 08-28-2006, 03:37 PM CSS Child <div> not showing parent <div> background
Junior Talker

Posts: 2
Name: John Cruz
Trades: 0
So here's my issue. I have a design in progress at
Literary Works Market

It looks as it should in IE, but terrible in firefox since the div leftNavContentBack is not showing the background from div leftNavBack

here's the CSS for the troublesome <div>s

HTML Code:
#leftNavBack {
 width: 182px;
 top: 1;
 text-align: center;
 background-image: url('images/design_22.jpg'); 
 background-repeat: repeat-y;
 overflow:auto;
}

#leftNavContentBack {
 width: 182px;
 top: 0;
 text-align: center;
 background-image: url(images/design_15.jpg);
 background-repeat: no-repeat;
 border: none;
 padding: none;
 overflow:auto;
 
}
Any and all help on this is appreciated as I haven't been able to find any solution for it.
Cruzweb is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-28-2006, 10:47 PM Re: CSS Child <div> not showing parent <div> background
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
The problem is the HTML style comment you have in your CSS !
You cannot use <!---- dkdkddkd --> in a CSS file. Comments in CSS must be like this: /* comment */

IE is sloppy enough to ignore it, Firefox and other standards-compliant browsers choke on 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
 
Old 08-28-2006, 11:33 PM Re: CSS Child <div> not showing parent <div> background
Junior Talker

Posts: 2
Name: John Cruz
Trades: 0
D'oh! Well, that was pretty dumb of me. Thanks a lot
Cruzweb is offline
Reply With Quote
View Public Profile
 
Old 08-28-2006, 11:59 PM Re: CSS Child <div> not showing parent <div> background
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Yw :d
__________________
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 CSS Child <div> not showing parent <div> background
 

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