Making Right and Left shadows extend with body area
-
This has to be a noob question, but I’ve looked everywhere, I can’t seem to get my clear:both to work properly.
This is my theme structure:
<div id=”container_wrap”>
<div id=”left_gradient”></div>
<div id=”container”>
<div id=”page”></div></div>
<div id=”right_gradient”></div>
<div style=”clear:both;></div>
</div>Here is the CSS for each div:
#container_wrap { margin:0 auto; width:1033px; background-color:#000; height:100%; } #left_gradient { width:20px; height:100%; float:left; background-image:url(images/bg/gradient_left.png); background-repeat:repeat-y; } #container { width:993px; background-color:#fff; float:left; } #page { text-align: left; width: 993px; border-top: none; margin: 0 auto; } #right_gradient { width:20px; height:100%; background-image:url(images/bg/gradient_right.png); background-repeat:repeat-y; }
This is driving me nuts. Any thoughts would be hugely appreciated.
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Making Right and Left shadows extend with body area’ is closed to new replies.