I have a table, that one of the td's looks like this:
<td colspan='2'><span style='text-align: center; font-weight: bold; font-size: medium;'>Where to go now?</span></td>
The text comes out bold, and medium, but not centered. The URL is:
<!-- m --><a class="postlink" href="http://www.lyricslist.com/lyrics/artist_albums/108/carey_mariah.php">http://www.lyricslist.com/lyrics/artist ... mariah.php</a><!-- m -->
But I warn you, it's a long page and the text is at the bottom!
DotanThat is because you cannot center text within an inline element. You can either make the span act as if it were a block level element (display: block or apply the centering atribute to the table cell.I understand. The style='text-align: center;' should belong to the td, not to the span. Thanks.
Dotan
<!-- m --><a class="postlink" href="http://technology-sleuth.com">http://technology-sleuth.com</a><!-- m -->
<td colspan='2'><span style='text-align: center; font-weight: bold; font-size: medium;'>Where to go now?</span></td>
The text comes out bold, and medium, but not centered. The URL is:
<!-- m --><a class="postlink" href="http://www.lyricslist.com/lyrics/artist_albums/108/carey_mariah.php">http://www.lyricslist.com/lyrics/artist ... mariah.php</a><!-- m -->
But I warn you, it's a long page and the text is at the bottom!
DotanThat is because you cannot center text within an inline element. You can either make the span act as if it were a block level element (display: block or apply the centering atribute to the table cell.I understand. The style='text-align: center;' should belong to the td, not to the span. Thanks.
Dotan
<!-- m --><a class="postlink" href="http://technology-sleuth.com">http://technology-sleuth.com</a><!-- m -->