Table alignment issue using Twenty Ten1.2 Theme
-
I also have an alignment issue. I am using Twenty Ten 1.2 and WP3.1.2.
I have 3 column table. I insert a graphic in column 1 and text in column 2 and 3. With the default style.css, the text will align on the baseline. I want the text to align in the middle or the top. Taking the direction from the previous discussion from c3mdigital, I altered the css by adding the following code after the original reset code at the beginning of the style sheet (style.css):
table{
background: transparent;
border: 0;
margin: 0;
padding: 0;
vertical-align: top;
}I can change top to middle in the vertical-align and I do not get a change in the alignment – the text continues to align on the baseline.
here is my table code:
<table border=”0″ cellspacing=”0″ cellpadding=”0″ width=”500″>
<tbody>
<tr>
<td><img class=”alignnone size-thumbnail wp-image-418″ title=”Bail” src=”http://twogatherbeads.com/wp-content/uploads/2011/05/Unknown-150×150.jpg” alt=”” width=”150″ height=”150″ /></td>
<td>b</td>
<td>b</td>
</tr>
</tbody>
</table>
The topic ‘Table alignment issue using Twenty Ten1.2 Theme’ is closed to new replies.