How do you set divs side by side? My current CSS:
[CODE]#header1 {
position: absolute;
left: 0px;
width: 51%;
height: 150px;
margin-right: 5px;
background-image: url(/images/misc/possible_rebirth_banner_copy.jpg);
}
#header2 {
width: 49%;
height: 150px;
background-image: none;
And my current web page code:
[code=php]<div id=”header1″></div>
<div id=”header2″>
<div align=”center”><img src=”/images/misc/houses.gif” border=”0″ width=”95″ height=”32″ alt=”Houses” onMouseOver=”houses1();” onMouseOut=”houses2();”>
<br> <br>
<?php include(“../includes/house_table.html”); ?>
</div>
</div>
The problem is header2 is sitting directly under header1. I need header2 to be on header1’s right side.