Posted by Paul Watt on 08/19/06 17:04
"Deryck" <deryck@REMOVElonghope.co.uk> wrote in message
news:4klqo4Fcoj9jU1@individual.net...
> Hi,
>
> I'm trying to rework someone's site. The original was all done in lots of
> tables by Dreamweaver. I'm trying to implement a CSS solution. The site
> has 3 columns (200px, 400px, 200px) centred in the middle of the screen
> regardless of screen size. I cannot find a CSS 3 column equivalent of
> this. The usual solutions have the 2 200px columns positioned absolutely
> and the centre column expands to fill all of the remaining space. While
> this has advantages it does not match the original site's appearance.
>
> If anyone can point me to the fixed column width solution I'd be very
> grateful.
>
Couldnt you define a wrapper div of 800px width then have 3 columns floated
within that wrapper? ie.
<style>
..wrapper{width:800px;}
..leftcol{float:left;width:200px}
..centercol{float:left;width:400px}
..rightcol{float:left;width:400px}
</style>
<body>
<div class="wrapper">
<div class="leftcol">something</div>
<div class="centercol">some more</div>
<div class="rightcol">even more</div>
</div>
</body>
--
Cheers
Paul
le singe est dans l'arbre
http://www.paulwatt.info
[Back to original message]
|