Reputation: 13
I'm trying to add a background-color to #maintext
but it isn't showing up. The body image seems to be over-riding the #maintext
, even though #maintext
is more specific.
Here's how I'm trying to lay it out.
The logical order I'm going for is the nav within the header, and the main text before the images. It's a fixed width site as well.
Upvotes: 1
Views: 597
Reputation: 180
Didn't you use the same color code #6E6E6E
for #maintext
and #wrapper
?
Works fine for me if I change the color for #maintext
. Hope that helps? Otherwise please come back to me :)
Upvotes: 3
Reputation: 4017
In styles.css
line:115 you have this:
#maintext {
float: right;
width: 570px;
background-color: #6E6E6E;
padding: 20px;
}
That background-color
happens to be the same one as the #wrapper
. #maintext
is not being overridden, at least not in the link you posted
Upvotes: 0