|
jaybee -> RE: background: #990000 (6/15/2006 10:04:27)
|
quote:
ORIGINAL: dawnyy This is the rest of that block.... div#header { width: 100%; margin-bottom: 40px; background: #990000; background-color: #ffffff; height: 100px; position: relative; top: 34px; } I'd appreciate it if someone could explain to me why removing the background line makes a difference to the alignment, as it may help me in my learning all this! Looking at that, if you only removed that bit, including the ; on the end of it then it shouldn't have affected the line up. If however, you left the ; there then that invalidates the entire block and it would affect the entire css from then on, thus affecting the page layout overall. You have two background lines in there now too so change that to div#header { width: 100%; margin-bottom: 40px; background-color: #ffffff; height: 100px; position: relative; top: 34px; }
|
|
|
|