Re: div

by "Raj Bhaskar" <raj(at)lordofthemoon.com>

 Date:  Wed, 17 Oct 2001 23:41:42 +0100
 To:  hwg-basics(at)mail.hwg.org
 In-Reply-To: 
  todo: View Thread, Original
> All that protest aside, I AM interested in strict html/xhtml 
> nonetheless, and would use the tool if it did the job.  I just don't see how
> div can do it.  OK, so it can change the alignment where there's just one
> item in a given spot.  But how can you use it to position two things side by
> side, one a specific position to the left, the other to the right?  What
> about 3 items, 4, etc?

There's a great article on A List Apart showing you how to use divs with 
CSS to get the same effect as tables (and a whole pile of other practical 
CSS tricks).  I can't remember the URL offhand, but go to 
http://www.alistapart.com and look in the archives for "Practical CSS".  It 
was only a few issues ago, so it should be near the top.

Raj.

-- 
__        __
|   |	|   |   Raj Bhaskar, University of Glasgow
|_ / 	|_ /    E-Mail: raj(at)lordofthemoon.com
|   \	|   \   Home Page: http://lordofthemoon.com
|    \	|__/   
Sometimes it's better to light a flamethrower than curse the darkness.
        -- (Terry Pratchett, Men At Arms)

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.