W3C home > Mailing lists > Public > site-comments@w3.org > November 2010

Re: CSS help

From: Ian Jacobs <ij@w3.org>
Date: Thu, 18 Nov 2010 17:11:14 -0600
To: "CHAN, TZE-HANG" <0904441@live.abertay.ac.uk>
Message-Id: <DC83A45A-D0C2-4AA0-91AC-035653722DC1@w3.org>
Cc: "site-comments@w3.org" <site-comments@w3.org>

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 (ij@w3.org)    http://www.w3.org/People/Jacobs/
Tel:                                      +1 718 260 9447
Received on Thursday, 18 November 2010 23:11:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:33 GMT