Support » Fixing WordPress » Output not the same as in the editor

  • Resolved dansot


    I am attempting to move content from Joomla to WordPress and in the regard have recreated the front page (mostly). The problem is one element will not do what it should do!

    Here are images of the editor and browser:

    This is the code:

    <td style="background-color: #e0e0e0; text-align: center;" valign="middle">
                    <span style="font-size: 14pt; color: #333399;">
                        We offer the ultimate in malware protection

    and a link to the website:

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can add a vertical-align: middle to the style.

    <td style=”background-color: #e0e0e0; text-align: center; vertical-align: middle;” valign=”middle”>

    Thanks, that worked! But.. why did I need to do that and why isn’t it an option in the editor?

    Technically valign should do it but these days design layout are going for tableless html tags using CSS styles hence your theme’s CSS file has a default alignment set to another value.

    I see, thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Output not the same as in the editor’ is closed to new replies.