Dudsmack
11-02-2003, 05:30 AM
I want to position a DIV in the center of the page and to the left a little bit. How can I keep it like this without using javascript to move the position everytime the window is resized?
|
Click to See Complete Forum and Search --> : Positioning a DIV Dudsmack 11-02-2003, 05:30 AM I want to position a DIV in the center of the page and to the left a little bit. How can I keep it like this without using javascript to move the position everytime the window is resized? Fang 11-02-2003, 06:18 AM <div style="text-align:center;"><div style="margin:0 auto;"> <div style="margin-left:-100px;">centered, a bit left</div> </div></div> The margin-left controls the "a bit left" webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |