Forum Moderators: not2easy
The next question is could I have a box below that to be the same width as the total of the two boxes above?
Hopefully this makes sense, I guess I was just hoping there was some code for stretch to the end of the screen.
Thanks because I'm new to this CSS stuff.
<html>
<head>
<style>
#littlebox {border: 1px solid red; width: 200px; height: 50px; float: left}
#biggerbox {border: 1px solid blue; height: 50px;}
#fullbox {border: 1px solid green; height: 50px; clear: left}
</style>
</head>
<body>
<div id="littlebox">i have a defined width</div>
<div id="biggerbox">i go all the way</div>
<div id="fullbox">I am the sum of the above</div>
</body>
</html>