I want the green area here to fill the entire horizontal white area between the green and the blue area.
The problem is that I don't know what I should put on it's width
attribute, currently it is 500px
.
<article id="chat">
</article>
<aside id="channel-attendees">
</aside>
chat
is the left bar, channel-attendees
the right one.
#chat {
background: green;
float: left;
height: 500px;
width: 500px;
}
#channel-attendees {
background: blue;
float: right;
width: 200px;
height: 500px;
}