Getting an Variable to Display at the top of an HTML Table Row

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-04-12T20:53:51Z Indexed on 2010/04/12 21:03 UTC
Read the original article Hit count: 293

Filed under:
|
|

Hello,

For the HTML table column below, the $count++ displays in the middle of the row. How can I get it to display at the top of the row?

Thanks in advance,

John

Code:

echo '<td class="commentnamecount">'.$count++.'.</td>';

CSS:

.commentnamecount { width: 20px;
            overflow:hidden !important;
            color: #000000;
            vertical-align: 

}

© Stack Overflow or respective owner

Related posts about css

Related posts about html