On 4/11/06, Trey <[EMAIL PROTECTED]> wrote:
> say you have a page/design that's 900px wide, but you want anyone
> with a view portal of say 800px to see the _rightmost_ 800px. so the
> design is neither centered nor left aligned. is there a way to do
> this in just css? (i'm assuming that you could accomplish this
> readily with js). thx... not sure how to search for the answer to
> this...

I just tried this on a site in Firefox Web Dev Extension:

body { float:right; }

However I'm not sure how this will affect various browsers. I'm going
to guess that IE might not like it.

Obviously if you just float your containing div to the right it should
work fine too, but then your layout is right-aligned, which you might
not want.

--
--
Christian Montoya
christianmontoya.com ... rdpdesign.com ... cssliquid.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to