CSS
HTML:HTML Code:div.header_left_green { width: 10px; height: 29px; background-color: blue; float: left; position: relative; } div.header_mid_green { height: 21px; background-color: red; margin-left: 10px; margin-right: 10px; position: relative; padding-top: 8px; } div.header_right_green { width: 10px; height: 29px; background-color: pink; float: right; position: relative; }
Firefox / Chrome:HTML Code:<div class="header_right_green"></div> <div class="header_left_green"></div> <div class="header_mid_green"></div>
IE:
I don't understand why IE isn't adding the height & top padding together, and why its adding the gaps on the left & right :S







Reply With Quote
