OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
More CSS positioning
This page's ID:
28862
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
first: when specifying a number other than 0, you need to specify your unit of measure - 50 what? second: when specifying in the manner you have used, the first value represents the top and bottom, the second value represents the left and right. You can also specify all four sides seperately, in the following order: top right bottom left; So in your case, you could use any of the following methods: margin:50px auto; (will put 50 px both top and bottom) margin:50px auto 0 auto; (will p ut 50px top, 0 bottom) or using two declrations: margin:0 auto; margin-top:50px; (make sure if you do this, the 'margin-top' is following the 'margin' declaration: the last delclaration supercedes any previous ones)
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail