<td valign="middle" width="25%" height="25" align="left"><font
color="#FFFFFF"><b><font face="Arial, Helvetica,
sans-serif">hello</font></b></font></td>
it is how I want it to look. When I use a stylesheet like this:
.buttons { font-family: Arial, Helvetica, sans-serif; font-style: normal;
font-weight: bold; background-color: #FFFFFF; text-align: left;
vertical-align: middle}
it doesn't work and it stays at the top of the cell. Any advice please?
Susan (having great fun chopping out MS stuff!)
Sorry, typing error, the first one should be:
<td valign="middle" width="25%" height="25" align="left"
bgcolor="#FFFFFF"><b><font face="Arial, Helvetica,
sans-serif">hello</font></b></td>
I'll probably get this wrong, but I've just double checked one of my
websites, which I use an external CSS's on, I've shown one of my styles,
below, when I use this the text is automatically vertically aligned in the
centre.
[span.style1 {font: 10pt verdana, tahoma, arial; color: 000000;
text-decoration: none}]
My understanding is that the default VALIGN is middle, as far as I'm aware
using CSS's shouldn't effect this, you don't by any chance use a style for
'td {........}' do you where the alignment may be getting picked up?
Sorry, not much help really was I?
--
Calum
As Calum said, the td contents will be vertically aligned to the middle
anyways by default. But even so your "vertical-align: middle" should work,
are you sure your applying the right class to the right table cell?
<td class="buttons" width="x" height="x">
?
mark
--
-------------------------------------
http://www.hoice.net waiting | for | something
Susan
Susan
--
Calum
http://www.alexandercward.co.uk/rct/rct.htm
See if you can find the problem now?
Susan
The CSS class should be applied to the table cell, not font tags.
Mark
Glad you got it sorted it out Susan.
--
Calum