• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Help!


br3n

Senior Member
#1
Ok im officially very confused.

Im not very experienced at understanding whats happening with IE (in this case 7) - Could someone explain why

header {
display: block;
width: 100%;
min-height: 300px;
height: auto;
background-color: #1e1e1e;
border-color: #5d5d5d;
border-width: 5px 0;
border-style: solid;
padding-top: 30px;
}

Doesn't work, well it kind of does I guess but the background color is ignored??? (works fine in firefox/chrome/safari)

Basement31 - Brendan Patterson. Designer.

This is also very anoying to test as working on mac and having to use a laptop to see changes :S
 

br3n

Senior Member
#2
Right - I just changed my html from:

<header> to <div class="header">
and also the css from
header {} to div.header {}

And it works as it should... whats up with that????