I want to split a division of an html page again, but horizontally.. the code i have isnt doing the trick and is just putting the next <div> underneath the first one, im sure there is an easy fix.. can someone point it out to me?
going to look like A and not B
thanks guys!!
Code:
.container {
width:995px;
height: 502px;
}
.left {
background-color:#FF6666;
width: 20%;
height: 100%;
}
.right {
background-color:#FF9900;
width: 80%;
height: 100%;
}
Code:
<div class="container">
<div align="left" class="left">
</div>
<div align="right" class="right">
</div>
</div>
going to look like A and not B
Code:
A)
-------------------------------
| | |
| | |
| | |
-------------------------------
B)
----------------
| |
| |
| |
----------------
| |
| |
| |
----------------
thanks guys!!