![]() |
IE8 - Lost background color |
Post Reply ![]() |
Author | |
St_Pierce ![]() Groupie ![]() Joined: 14-December-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 28-October-2009 at 7:13pm |
Hi All,
I'm trying to solve a problem and thought I'd ask to see if anyone else encountered this. Here's my problem... I noticed that the #pcMainArea lost it's background color in IE8 and Firefox, but is fine in IE7. Here is the css code that I'm using, it's nothing fancy, mostly unchanged from original.
#pcMainArea08 {
width: 900px; background-color: #FFF; margin-left: auto; margin-right: auto; margin-top: 0px; margin-bottom: 0px; /* spacing between main area and footer */ /* border: none; */ border: 3px solid #CCC; } After trouble-shooting this, I added a border statement (last line in code) to see what would happen. It worked fine in IE7 but IE8 doesn't seem to recognize the space, the border was placed between the #pcMainArea and the #pcHeader. That would make sence as to why there is no background color.
I tried everything I could think of, removed the footer.asp, checked css puncutation, etc. Still no background color. I researched this on the internet and found hints that it may be a problem, just haven't found any resolutions.
I would greatly appreciate any help on this issue.
Thanks!
|
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Can you post a link to your site? |
|
![]() |
|
St_Pierce ![]() Groupie ![]() Joined: 14-December-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Thanks Hamish!! It was in the html. Watch those </div>'s guys and gals!
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |