I am having trouble understanding how to align my divs parallel to each other. If I use absolute positioning then I can get it but it won't work in all screen resolutions. If I use relative then the two divs you will see are staggered. Here is a link to the page and below is the code. Thanks for any help.
http://www.servicewhale.com/template.htm
Code:#body { width: 790px; } #right_div { position: relative; width: 230px; top: 30px; left: 550px; padding: 10px; border-style: solid; border-color: #000000; background-color: #cccccc; border-width: 1px; /*border-right: 2px dotted #dddddd;*/ } #center_div { position: relative; width: 50%; } #left_div { position: relative; width: 230px; height: 200px; top: 30px; left: 0px; padding: 10px; border-style: solid; border-color: #000000; background-color: #cccccc; border-width: 1px; /*border-right: 2px dotted #dddddd;*/ }HTML Code:<div id="container"> <div id="header"> </div> <!-- header --> <div id="navigation"> <ul> <li><a href="#">Contact</a></li> <li><a href="#">Solututions</a></li> <li><a href="#">Partners</a></li> <li><a href="#">Services</a></li> <li><a href="#">About</a></li> </ul> </div> <!-- navigation --> <div id="body"> <div id="left_div"> </div> <!-- left_div --> <div id="right_div"> Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test </div> <!-- right_div --> <div id="footer"> </div> <!-- footer --> </div> <!-- body --> </div> <!-- container -->







Bookmarks