PDA

View Full Version : Text Alignment inside Tables??


Geordieb
11-13-2010, 02:27 PM
Hi

Another novice, I have a site where in some pages I have inserted Tables, 1 row with 2 columns, Graphic in left Column and Text in the right columne, however I can't seem to fully justify text.
It assign Fully Justify, but uploading to server appears left aligned.

Any help greatly appreciated

Thanks
:confused: :confused:

Corrosive
11-13-2010, 02:29 PM
Code or crystal ball please ;)

Ricky55
11-13-2010, 06:46 PM
To align any text in the center use text-align, so for your table


<style type="text/css">

table {
text-align: center;
}

</style>

DWcourse
11-14-2010, 02:16 AM
actually you probably want text-align: justify but, to be honest, with all the variations possible among fonts, browsers, operating systems, etc. justified type is almost always a bad idea online.