OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Vertically centered box......help !!!!
This page's ID:
11185
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
OK, first off, you have two "margin-top" declarations--the "margin-top:50px;" is extraneous, and gets overridden by the next declaration anyway. However, that's not your problem. The technique is sound and should work--in fact, it does work. Your problem is most likely that the height of the div is 700px, and even on a 1024x768 screen, that's going to end up being more vertical space than you have in the browser window. Try this: reduce the height to 300px (or so), and then reduce the margin-top to 150px. Voila! We have centering. :) If you can't get that to work, let me know. You're doing everything right (except for the extra margin-top declaration), so you shouldn't have any problems. ___________________________ Suho: [url=http://www.liminality.org]www.liminality.org[/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »