OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Align without "align=" and "target"
This page's ID:
11033
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
Emps: About that FAQ... I thought the text-align hack for IE5 was supposed to be applied to the object [i]containing[/i] the div you want centered, and not to the div itself. Something like: [code] body { text-align: center; /* centers the div in IE */ } #centered { margin-left: auto; /* margin-left and margin-right need to be set independently */ margin-right: auto; /* because the shorthand fails in Opera */ text-align: left; /* overrides the centered text */ } [/code] At least that's how I remember it. [img]http://omnizero.home.comcast.net/asylum/sigs/002.gif[/img]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »