WordPress.org

Ready to get started?Download WordPress

Forums

Wonky table (7 posts)

  1. Dot
    Member
    Posted 1 year ago #

    Hello,

    I want to present some data in tabular form, but the way it's showing up in the editor is different to the (wonky) way it looks on line!
    How can I get everything to line up please?

    http://deardot.com/?page_id=2019

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Hi Diane :) -- I'm not sure how you are creating your table, but the HTML code is a bit of a mess. Basically, each piece of data needs to be in a separate table "cell" -- that is between td tags. So where you have this:

    <tr>
    <td>Who                                             Where based                          Date</td>
    <td></td>
    <td></td>
    </tr>
    <tr>
    <td> <a href="http://www.wolfmagazine.co.uk/">
    </a></td>
    <td></td>
    <td></td>
    </tr>

    It should be like this -- some of the data below is only as an example -- as you were missing some pieces.

    <tr>
    <td>Who</td>
    <td>Where based</td>
    <td>Date</td>
    </tr>
    <tr>
    <td> <a href="http://www.wolfmagazine.co.uk/"></a></td>
    <td>US</td>
    <td>Dec. 2001</td>
    </tr>

    Don't use multiple spaces or tabs in the cells. If you have empty cells -- i.e. you don't have data to put in there, use   (non-breaking space code) which keeps the table formatting correct.

    Hope that helps...

  3. Dot
    Member
    Posted 1 year ago #

    Hello Yogi!

    It looks like it ought to be doeable, but I'm a bit patchy on how to go about it; to get what I've got, I just used an option for a table from the TINY ME plug in: If I'm creating one using HTML, would I need to do that in an external syle sheet (php file)please? How did you get to observe the HTML (mess!)please?

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Look at the HTML tab, instead of the VISUAL.

  5. Dot
    Member
    Posted 1 year ago #

    AH Y - I was just returning here to say I just did: thanks! :?/

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    Is your issue resolved?

  7. Dot
    Member
    Posted 1 year ago #

    Ha ha: that looks much more beautiful: thanks :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.