RE: Div-element at same vert. position?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 2:21 PM -0600 3/28/06, Jay Blanchard wrote:
[snip]
what's wrong with absolute positioning?
[/snip]

Because there is only one absolute; that there are no absolutes.

IE, FF, Opera and others all treat the box model differently.

That's if you use margins and padding. The way I understand it, the box model --

http://www.w3.org/TR/REC-CSS2/box.html

-- is problematic because M$ looks at things differently than everyone else (i.e., W3C et al) -- which has led to many different fixes (hacks), such as:

http://tantek.com/CSS/Examples/boxmodelhack.html

But, if you are trying to absolutely position things, then using absolute without padding and margins is the way to go.

For example, I've had a couple of clients who wanted their web sites to look exactly like their designers illustrations without any alteration or slack whatsoever on any browser. The only way I did it was to use absolute positioning.

But, like everything else (including this topic), it has it's place.

tedd

--
--------------------------------------------------------------------------------
http://sperling.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux