Title: Message
 
Peter,
 
It a technique that I use quite often, and is very useful for certain situations.
 
Douglas Bowman explained it in depth in one of his articles:
 
http://www.stopdesign.com/also/articles/absolute/
 

Regards,

David McDonald
Web Designer

http://www.davidmcdonald.org

Southbank, Melbourne
Australia

Mobile: 0403 332 140
ICQ: 11814164

-----Original Message-----
From: Universal Head [mailto:[EMAIL PROTECTED]
Sent: Saturday, 31 January 2004 3:06 PM
To: [EMAIL PROTECTED]
Subject: [WSG] newbie discovers absolute positioning

Opinions welcome:

I'm working on a new job and looking at code on various sites I recently discovered the joys of creating a container that is centred position:relative with margin: 0 auto; in the browser window, and then setting divs within it that are position:absolute ,using top , left, width and height pixel settings, to the container. So far (up to the coloured boxes stage of the proceedings - thanks Russ!) everything seems to be working beautifully.

Is it my imagination or is this method so much easier to work with than fiddling about with floats? I was shocked to see my layout work in all the test browsers, first time.

Peter
-- 


peter gifford

universal head    
design that works

visit  7/43 bridge road
        stanmore nsw 2048
       australia
call   (+612) 9517 1466
fax     (+612) 9565 4747
email   [EMAIL PROTECTED]
site      www.universalhead.com

Reply via email to