View Full Version : Text-Align
TimFA
06-04-2007, 06:12 AM
I'm attempting to align an individual cells text, to the left. But it does nothing. I've IDed the cell as "time". Heres my CSS.
#time {
text-align: left;
}
jscheuer1
06-04-2007, 07:45 AM
The default text alignment in a table cell is left. You must have something(s) else in your style and/or layout that is contradicting this and that your style for #time cannot overcome (often, this would be a class that contains the #time cell*). I would need to see your page to be more specific.
* To fix that, change your selector to the class name followed by the id, ex:
.class_name #time {
text-align:left;
}
Note: This is just an example of a possible solution to a possible problem. I would need to see your page to be more specific.
TimFA
06-04-2007, 05:51 PM
Thank you, but I figured it out. I made a VERY idiotic mistake...I said left, I wanted right. So I fixed it.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.