View Full Version : Right align
anhedonia
November 12th, 2002, 05:23
I'm making a new layout and for the splash page, I need everything totally on the right - I did this by just using rightmargin="0" which worked fine in IE, but I've noticed it doesn't work in Opera. Does anybody know the code to make this work in all browsers, or is it not possible?
Thanks a lot. :)
Jan
November 12th, 2002, 06:17
<div align=right>whatever</div>
Even works in Netscape :p
anhedonia
November 12th, 2002, 06:36
No, I mean, the margins set to 0. I know how to make everything sit on the right, but how do I make it so there's no gap whatsoever?
Bruce
November 12th, 2002, 06:52
Well, as you said, it's rightmargin=0 for IE, but it's marginwidth=0 for the rest of teh browsers.
<body rightmargin=0 marginwidth=0>
anhedonia
November 13th, 2002, 04:58
thanks. :)
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.