WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] some problem with html table codes (4 posts)

  1. x69chen
    Member
    Posted 1 year ago #

    Hi I just add some basic html table code to a page editor

    <table border="1"><tbody><tr><td> a long text </td>
    <td><img src="img.url" alt="company"></td></tr><tbody></table>

    but why the texts always leaves a large space in the heading over it.
    And the whole text and the img are not in a horizontal level at the top.

    I even add width="60%", set the width and height of the img, but all seems does not work good.

    Could someone help me, thanks

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Look at the align attribute when using tables, but this type of HTML and CSS resolution is not within the scope of support supplied by WordPress.org forums. Try a CSS-specific forum.

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    This may also be helpful as a CSS reference for table styling:

    http://www.w3schools.com/css/css_table.asp

  4. x69chen
    Member
    Posted 1 year ago #

    ok thanks ppls :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.