View Full Version : text-alignment

The Piemaster
11-14-2002, 09:44 AM
I am new to style sheets and am using this for my text.

.font2 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size:11px; font-style: normal; text-align: left; }

it works okakokay in an html page but in anXHTML page the alignment is centered. the text is in a table.

any ideas

The Piemaster

11-14-2002, 10:40 AM
What are you attaching this class to? A TD? SPAN? DIV? ???

11-14-2002, 11:46 AM

Can you show us the XTHML code you used?

The Piemaster
11-14-2002, 02:01 PM
I have sorted it now it took me ages, I use dreamweaver and for some reason it put tags in all over the place where I didnt want them.

Thanks for your trouble

The Piemaster