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
background color not showing up in IE
Old 01-28-2008, 01:30 PM background color not showing up in IE
squirrelradio's Avatar
Novice Talker

Posts: 7
Name: gordon
Trades: 0
My page works great in firefox, but in IE the top navigation div (top_navigation) SHOULD have a background color of red for testing perposes, but the color doesn't change! It looks like its inheriting the background color #e4dfd7 from the css body tag. I've tried using an inline style, or using !important, nothing works, and I have to make this available in at least IE6 and up.
Thanks in advance for any help!
html code -> http://cosmosristorante.com/ox/index.asp (just plain html)
css code -> http://cosmosristorante.com/ox/core.css
css-ie code -> http://cosmosristorante.com/ox/core-ie.css
__________________
--cowliquid

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

Last edited by squirrelradio; 01-28-2008 at 06:10 PM..
squirrelradio is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-28-2008, 02:56 PM Re: background color not showing up in IE
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Not sure what your problem is, I can see a red background on the UL #top_navigation in IE 6. However, it appears that you have a gray backgound on the <LI> elements AND a color on the <a>, both of which are on TOP of the red.
__________________
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 01-28-2008, 03:00 PM Re: background color not showing up in IE
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
Run your site through the W3C validator. You have some code that is out of place.

http://validator.w3.org/

EDIT:
Use the CSS Validator too.
http://jigsaw.w3.org/css-validator/

Last edited by joder; 01-28-2008 at 03:01 PM..
joder is offline
Reply With Quote
View Public Profile
 
Old 01-28-2008, 03:18 PM Re: background color not showing up in IE
squirrelradio's Avatar
Novice Talker

Posts: 7
Name: gordon
Trades: 0
Joder ---- It was run through the w3c validator, and passed. You can see that by looking at the bottom of my page, I put the w3c validator compliance button on it!
__________________
--cowliquid

Please login or register to view this content. Registration is FREE
squirrelradio is offline
Reply With Quote
View Public Profile
 
Old 01-28-2008, 03:24 PM Re: background color not showing up in IE
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
http://validator.w3.org/check?uri=ht...Inline&group=0

35 Errors
joder is offline
Reply With Quote
View Public Profile
 
Old 01-28-2008, 03:40 PM Re: background color not showing up in IE
squirrelradio's Avatar
Novice Talker

Posts: 7
Name: gordon
Trades: 0
EVERYTHING is validated now. Any help would be greatly appreciated.
Thanks
__________________
--cowliquid

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

Last edited by squirrelradio; 01-28-2008 at 03:55 PM..
squirrelradio is offline
Reply With Quote
View Public Profile
 
Old 01-28-2008, 04:00 PM Re: background color not showing up in IE
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
Did you fix what LadynRed told you?

Your HTML has all these id's and classes that don't exist in the CSS. Cleaning it up would make it easier to troubleshoot.
joder is offline
Reply With Quote
View Public Profile
 
Old 01-28-2008, 06:24 PM Re: background color not showing up in IE
squirrelradio's Avatar
Novice Talker

Posts: 7
Name: gordon
Trades: 0
She didn't tell me to do anything?! I have classes and id's that aren't in that page because there is more to the site then what you see, I only posted the relevent page and code that I need help with. I haven't gotten one answer as of yet. :-/
__________________
--cowliquid

Please login or register to view this content. Registration is FREE
squirrelradio is offline
Reply With Quote
View Public Profile
 
Old 01-29-2008, 04:43 AM Re: background color not showing up in IE
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
I only posted the relevent page and code that I need help with. I haven't gotten one answer as of yet.
That's because the problem may well be in code you HAVEN'T shown.

To debug something requires the WHOLE problem.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-29-2008, 07:24 AM Re: background color not showing up in IE
squirrelradio's Avatar
Novice Talker

Posts: 7
Name: gordon
Trades: 0
That is the whole problem, other pages are unrelated. This is the worst forum I've ever used, thanks for zero sugguestions folks.
__________________
--cowliquid

Please login or register to view this content. Registration is FREE
squirrelradio is offline
Reply With Quote
View Public Profile
 
Old 01-29-2008, 09:11 AM Re: background color not showing up in IE
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
Quote:
Originally Posted by squirrelradio View Post
She didn't tell me to do anything?! I have classes and id's that aren't in that page because there is more to the site then what you see, I only posted the relevent page and code that I need help with. I haven't gotten one answer as of yet. :-/
1) The id's and classes that you didn't show the CSS are in the middle of the navigation.

2) As I already stated, LadynRed told you in her reply that you have color in an element on top of color in another element. Change the grey backgrround color if you want the red to show through.

3) To be quite honest, you need to learn how to use the CSS Validator and validate your code
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fcosmosristorante.com%2F ox%2Findex.asp&warning=1&profile=css21&usermedium= all
You keep saying it validates when it hasn't.
joder is offline
Reply With Quote
View Public Profile
 
Old 01-29-2008, 03:54 PM Re: background color not showing up in IE
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
This is the worst forum I've ever used,
And have "the other" forums provided you with an answer as yet.

Obviously I would guess not seeing as you carry on asking.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-30-2008, 12:35 PM Re: background color not showing up in IE
squirrelradio's Avatar
Novice Talker

Posts: 7
Name: gordon
Trades: 0
It turns out it was the default class at the top which was causing the problem it set a background for the body and a bunch of other elements like 'p' tags. very simple answer, thanks guys.
__________________
--cowliquid

Please login or register to view this content. Registration is FREE
squirrelradio is offline
Reply With Quote
View Public Profile
 
Old 01-30-2008, 12:37 PM Re: background color not showing up in IE
squirrelradio's Avatar
Novice Talker

Posts: 7
Name: gordon
Trades: 0
all code was xhtml and css validated through w3c. i won't bother coming back to this forum, very dissappointing. you're more interested in nit-picking then helping to find an answer. or perhaps you just don't know the answers.
__________________
--cowliquid

Please login or register to view this content. Registration is FREE
squirrelradio is offline
Reply With Quote
View Public Profile
 
Old 01-30-2008, 02:07 PM Re: background color not showing up in IE
CrankGames.com's Avatar
Experienced Talker

Posts: 49
Name: Evan Day
Trades: 0
Please don't come to this forum to yell at us when they are trying to help you with something that you don't know. How can you yell at someone for "not knowing" something that you don't know.
__________________

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

my website :)
CrankGames.com is offline
Reply With Quote
View Public Profile
 
Old 01-30-2008, 02:36 PM Re: background color not showing up in IE
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
you're more interested in nit-picking then helping to find an answer. or perhaps you just don't know the answers.
Oh.. we KNOW the answers, you were just looking for someone to hand it to you on a silver platter. When we didn't do that you got irate. I think if you read enough of the threads here you'll find you get more help here than you'll get in a lot of other forums.
__________________
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 background color not showing up in IE
 

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