
Originally Posted by
zeeb44
Either way you would have to specify an exact width right?
You could use % widths so that they are flexible, like so:
Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Experiment</title>
<style media="all">
.wrap {width: 80%; overflow: hidden; margin: 0 auto;}
.inner {width: 33%; float: left; height: 400px;}
.one {background: red;}
.two {background: blue;}
.three {background: yellow;}
</style>
</head>
<body>
<div class="wrap">
<div class="inner one">
</div>
<div class="inner two">
</div>
<div class="inner three">
</div>
</div>
</body>
</html>
Bookmarks