On 18 Nov 2010, at 3:47 PM, CHAN, TZE-HANG wrote:
Hi, I'm currently creating a website and I'm having a bit of a
problem.
I'm trying to put two divs side by side without the use of tables
but I can't get it to work.
The two divs are inside another div which holds the content of the
page and is centred with the use of margins.
When I use the float properties for the two divs, they are placed
side by side but it seems like they're taken out of the content div.
I hope W3C have people who can solve my problem and any help would
be greatly appreciated.
Does this resource help?
http://www.456bereastreet.com/lab/developing_with_web_standards/csslayout/2-col/
_ Ian
Thanks in advance
Tze
--
Ian Jacobs ([email protected]) http://www.w3.org/People/Jacobs/
Tel: +1 718 260 9447