View Single Post
Old 02-12-2006, 08:35 AM   #9 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 701
DJMaze is on a distinguished road
Quote:
Originally Posted by sde
also, i didn't notice the center thing. it doesn't happen in FF, but i can see it in IE. i'll find what i broke.
Easy IE bug, happens all of the time.

When you center something everything inside it gets centered by IE unless you force it to align left or right.
This is especialy an issue with RTL languages cos when you force LTR they read the text very oddly.
To prevent this from happening never use text-align and <center>, instead use inside the CSS:
Code:
margin: 0 auto;
width: 80%;
Example: http://dragonflycms.com/
DJMaze is offline   Reply With Quote