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
Yes.. However, li as.... li (width: 6.2em;font-size: 80%;text-align: left;margin: 0px;padding: 0px;list-style-type: none;) LOOKS LIKE a DIV to me Also..I took the auto-margin out..corrected a typo in the body of the document and that command did center that image in the *container?* so.. It works simply written: img { border: 0; text-align: center; } Now, barring typo's...As I understand that command -text-align -is applied to block level elements...not just text..but I am probably wrong [img]http://www.skyetyger.com/tygold.gif[/img]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »