G gullwingdoors New member Jun 10, 2009 #1 Particularly within a table, I want to be able to align a column of text so that the left (or right) edge is straight but the overall body of text is centered. Am I making sense? Any way to do this? Thanks!
Particularly within a table, I want to be able to align a column of text so that the left (or right) edge is straight but the overall body of text is centered. Am I making sense? Any way to do this? Thanks!
J jack New member Jun 10, 2009 #2 Try this: td { text-align: justify; margin-left: auto; margin-right: auto; } You can text-align left or right also. The margins should centre it as a whole body.
Try this: td { text-align: justify; margin-left: auto; margin-right: auto; } You can text-align left or right also. The margins should centre it as a whole body.
I i8badhaggis New member Jun 10, 2009 #3 so what you are saying is that you want it justified in the center... yes? why don't you set it to justified and then use left padding?
so what you are saying is that you want it justified in the center... yes? why don't you set it to justified and then use left padding?