[resolved] Valign and other Table Formatting (8 posts)

  1. cableghost
    Posted 7 years ago #

    How do I reproduce the valign format in WP? I scraped content from a HTML site and placed it into a WP Page.

    I realized this is not the ideal way to build a WP Page, but I just don't have the time and expertise to do a complete conversion, so...

    Is there a command/code I can add to get WP to recognize valign in some format?


  2. esmi
    Forum Moderator
    Posted 7 years ago #

    td {vertical-align: foo;}

    where foo = top, bottom or middle

  3. cableghost
    Posted 7 years ago #

    thank you!


  4. ChecMark
    Posted 7 years ago #

    Does this go in the CSS? I have created a form with various <input fields> and, although it looks fine in the FrontPage preview, when I view it on the client WP site, the row height is all screwed up. I have tried every HTML code I can think of on the page itself, but nothing works. Doesn't WP recognize basic HTML like valign=right or rowheight?

    Appreciate any help. I am stumped.

    Page can be viewed at PalmTravelPanama.com. Click on Get A Quote - English.

  5. Mike
    Posted 6 years ago #


    <td vertical-align="foo"> doesnt work. does it need to be in the CSS such as:

    td.fudgepress {
    vertical-align: foo;

    and then in the HTML as:

    <td class="fudgepress">

    the inline tag is not working

  6. Mike
    Posted 6 years ago #

    bingo. that worked

  7. SilkchenGermany
    Posted 6 years ago #

    I have the same problem and kinda realized it has to be a css thing.

    Where do I put the

    td {vertical-align: top;}


    I mean, in which part of the css do I put it? I am using wordpress 2.9.2 and buddypress with modified default theme.

    Any help appreciated!

  8. mmumby
    Posted 6 years ago #

    A bit of inline CSS directly in the table html also works.

    <td style="vertical-align: middle;">

Topic Closed

This topic has been closed to new replies.

About this Topic