transparent
Programmer
I have the following HTML:
<div id="content">
<div id="right">Important Content</div>
<div id="left">Less Important Content</div>
</div>
I'm using the following CSS to re-order the content:
div.content{width:100%;}
div.right{float:right;}
div.left{float:left;}
I want to be able to specify that the div with id=left has a width of 300px and that the div with id=right should expand to fill the remaining space.
How do I do this?
If I just do :
div.content{width:100%;}
div.right{float:right;}
div.left{float:left;width:300px;}
the right hand div doesnt expand to fill the remaining npx
I'm stuck!!
<div id="content">
<div id="right">Important Content</div>
<div id="left">Less Important Content</div>
</div>
I'm using the following CSS to re-order the content:
div.content{width:100%;}
div.right{float:right;}
div.left{float:left;}
I want to be able to specify that the div with id=left has a width of 300px and that the div with id=right should expand to fill the remaining space.
How do I do this?
If I just do :
div.content{width:100%;}
div.right{float:right;}
div.left{float:left;width:300px;}
the right hand div doesnt expand to fill the remaining npx
I'm stuck!!