| | |
|
|
|
Re: Absolute positioning right/bottom? |
| message from Murray *TMM* on 21 Jul 2004 |
It allows you to dynamically position a layer right and bottom. Is that the
original question?
|
| mzanime.com replied to Murray *TMM* on 22 Jul 2004 |
No, the original question was basically "is it valid coding to position a div
based upon the "right" and "botton" properties?" Becuase I thought you could
only position based upon the "top" and "left".
Also -if- you can indeed use "right", and "bottom" properties for positioning,
are they widely supported?
A friend of mine was trying to center a layer, and he said this code of his
worked inside IE and Firefox.
#layout_main {
? ?position: absolute;
? ?top: 0px;
? ?left: 25%;
? ?right: 25%;
|
| Murray *TMM* replied to mzanime.com on 22 Jul 2004 |
Oh - oops.
Sorry, I don't know if right and bottom are allowed or reliable.
|
| Gary White replied to Murray *TMM* on 22 Jul 2004 |
They are legal, but unreliable. I think that browser that has the huge
market share has problems with them.
Gary
|
| Murray *TMM* replied to Gary White on 22 Jul 2004 |
Opera?
|
| Gary White replied to Murray *TMM* on 22 Jul 2004 |
<LOL> No. The other end of the spectrum. :-)
Gary
|
| mzanime.com replied to Gary White on 22 Jul 2004 |
Okay so right and bottom positioning works (and is valid CSS as far as the W3C
spec shows) but is not currently reliable. I tried positioning based upon right
and bottom and it didn't work at all inside any of my browsers on mac OS X.
Thanks guys.
|
| Gary White replied to mzanime.com on 22 Jul 2004 |
You're welcome. The only small correction to your statement above is that,
instead of "right and bottom positioning works," I'd say right and bottom
may be legal, but they don't work reliably.
Gary
|
| mzanime.com replied to mzanime.com on 22 Jul 2004 |
Hmm, well it looks like the answer was right under my nose Murray. -_-
http://www.w3.org/TR/CSS2/visuren.html#position-props
But this opens a whole new can of worms for me. Experimenting, browser
compatibility tests, etc.
|
|
Archived message: Re: Absolute positioning right/bottom? (Macromedia Dreamweaver Web Design)