[thelist] Image labels not centered in Firefox
Stephen Toney
toney at systemsplanning.com
Wed Nov 23 09:22:14 CST 2005
Dear Experts,
(Sorry, this question was previously posted with an EXE. Here's the same page as a static page:
Please look at http://65.209.2.12/alignment_problem.htm
-- specifically the bottom row of the gray area.
In IE6/Windows the company names are centered under their logos, as desired, but in FF 1.0 Windows and Netscape 7 Windows the names are left-aligned in the table cells, although the logos are centered. How come? Does the <br> interfere with the centering inside a cell? (I'm using the transitional doctype.)
The relevant code is (edited for clarity):
<table width=100% cellspacing=0 cellpadding=0>
<tr>
<td style='text-align=center;'>
<a href='something'>
<img src='/somepath/logo-naa.gif' border=0 align=top>
</a>
<br>North American<br>Aviation
</td>
...same for other three cells...
</tr>
</table>
I've tried change the "align" attribute of the <img> to left, right, and bottom, but the text is still aligned left.
Thanks in advance for any advice! (Please, no flames about using tables! I know, I know...)
Stephen Toney
Systems Planning
toney at systemsplanning.com
http://www.systemsplanning.com
More information about the thelist
mailing list