Force <td valign='middle'>

I would like to force one cell on my page to have the attributes of:

<td valign='middle'>

But the css is overriding it.
Who is Participating?
1martConnect With a Mentor Commented:
Add class to the cell:
<td class="whatever">

And then add the following line to the stylesheet:

td.whatever {
  vertical-align: middle;

You can always override stylesheets with more specific declarations.
You need to add class to this cell and make specific css rule for it to override the default stylesheet.
hrolsonsAuthor Commented:
1mart, could you possibly walk me through that?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.