WordPress.org

Ready to get started?Download WordPress

Forums

Content Unable To Align To Top Even After Td Valign="Top" Is Used (3 posts)

  1. stormypara
    Member
    Posted 2 years ago #

    Dearest All,

    I am trying to display my content on a cell to the top but to no avail.

    1. The first cell is a wpGoogleMaps Configuration plugin which I use to display a Google Map.

    2. The second is basically some contact information stuffs.

    3. Below is a plugin Contact Form7. Looking forward to hearing from you all.

    4. URL to website

    Thank you in advance.

    Best Regards,
    Chris.

    Here are the codes.

    <table>
    <tbody>
    <tr>
    <td valign="top" width="400">[googleMap name="MystiQue Audio & Visual Productionz" width="400" height="400"]560419 Ang Mo Kio, Singapore[/googleMap]</td>
    <td valign="top" width="400"><span style="text-decoration: underline;"><strong>MystiQue Audio & Visual Productionz</strong></span>
    
    Address: 560419 Ang Mo Kio, Singapore
    
    Office No: +65 6123 4567
    
    Mobile No: +65 8377 2347
    
    Email: mystiqueaudio@gmail.com</td>
    </tr>
    </tbody>
    </table>
    [contact-form-7 id="18" title="Contact form 1"]
  2. Peter Wooster
    Member
    Posted 2 years ago #

    Have you looked at the actual html that is being sent?

    There is a process called wpautop that adds paragraphs and breaks to your code that is entered into the editor. There are plugins to disable this. Do a search for autop.

    /peter

  3. stormypara
    Member
    Posted 2 years ago #

    Hi,

    Thank you for the reply, I think I have found the answers.

    Simply change to "td style="vertical-align:top;" instead of td valign="top"

Topic Closed

This topic has been closed to new replies.

About this Topic