OZONE Asylum
Forums
All Browsers Suck
Centering an Image within a Block Element
This page's ID:
25002
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
For 1, you need to check out your page in IE, your nav is off and the margin auto doesn't work in IE. The best way to center a div in all browsers is using [code]margin-left:50%; margin-right:50%; left:-half the width of the div;[/code] Note the "-" Using text-align:center; in an image styling usually does the trick for me. [url=http://www.ensellitis.com/][img]http://www.ensellitis.com/sigs_avatars/throw.gif[/img][/url] :: [url=http://www.ensellitis.com]WWW[/url] || [url=http://www.ensellitis.com/contact.php]Contact[/url] || [url=http://ensellitis.deviantart.com]Deviations[/url] || [url=http://www.thoughtprism.com]ThoughtPrism[/url] :: [small](Edited by [internallink=1841]Ensellitis[/internallink] on 02-13-2005 07:04)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »