Forum Moderators: not2easy

Message Too Old, No Replies

Positioning - Absolute vs Relative - Let's All Discuss

         

brucec

4:44 pm on Jul 7, 2004 (gmt 0)

10+ Year Member



I have been getting really good at CSS except for the concept of absolute positioning.

I know that relative positioning is necessary to replace CSS with tables.

Yes, I have tried absolute positioning with a left and top property, but I find that smaller 15 inch monitors crush the web page together with the absolute positioned <DIV> tag just floating on topof the mess.

So, what is best for the "Table to CSS" transition? Absolute or Relative?

drbrain

5:18 pm on Jul 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Both. You'll be capable of less than one third of the possible CSS effects with only absolute or only relative positioning.

See my post on http://www.webmasterworld.com/forum83/1868-2-15.htm [webmasterworld.com] (message 22) for an example of how using both relative and absolute positioning together allows you to achieve something you cannot achieve as simply and elegantly with either alone.

ktwilight

3:39 am on Jul 8, 2004 (gmt 0)

10+ Year Member



thanks drbrain! greatly appreciated of the link. have been having quite alot of problems understanding css-p. lol :D