[thelist] test-align:left and I.E. 6

aardvark roselli at earthlink.net
Sat Dec 15 12:21:26 CST 2001


> From: "Sharon F. Malone" <sfmalo at 24caratdesign.com>
[...] 
> p, td { text-align:left; }
> 
> I just placed this into a remote css file on one of my client's sites
> and, lo and behold, it overrode a td align="center" already in the
> body of a page ... and swung it to the left.

yep, to be expected... CSS is gonna override HTML alignment 
attributes in IE6... you get around it by dumping the align="center" 
(or keeping it for legacy browsers) and adding style="text-
align:center;" to the cell(s) you want to affect...





More information about the thelist mailing list