OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Css alignment problem
This page's ID:
21686
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
vertical-align is for inline elements (like span, etc.) to specify how they are placed relative to other inline elements in the same line. This is primarily intended for creating superscripts and subscripts although it can also be used to determine how elements such as img are placed relative to the surrounding text. This attribute is not intended for alignment relative to block elements (such as div). Vertical alignment between block level elements is missing from CSS2 (although, did I read it is being addressed in CSS3? I can't remember. No matter, it will probably be years before the predominant browser supports CSS3 anyway...). There are some workarounds using margins and/or padding that may work for you. [url=http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=css+vertical+centering&btnG=Search]A quick search on google [/url] will point you in the right direction. [small](Edited by [internallink=3772]MajorFracas[/internallink] on 05-05-2004 16:00)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »