WordPress.org

Support

Support » Themes and Templates » [Resolved] can’t get table to fix

[Resolved] can’t get table to fix

Viewing 5 replies - 1 through 5 (of 5 total)
  • bump, sorry

    can anyone help me? i’ve tried everything i can think of.

    Sorry, “we” don’t do windows, err, I mean tables.

    TechGnome

    @techgnome

    Moderator

    Most people aren’t proly going to help because of the use of tables in the layout….

    I took a crack at it anyways and here’s what I see.
    There are a number of problems.
    One is the image is in first cell of the first row. I assume that’s correct, but the cell is never closed.
    <tr><td>
    <img src="/images/x/shibuyatop.png" alt="Shibuya Dreams">
    --- missing a closing td and tr tag here ---
    <tr>
    <td width="39%" valign="top" align="left">

    Now, because the first cell of the first row takes its size from the image…. all remaining cells in that same first col are going to be that wide…. so the first cell should do a colspan=2 (there’s nothing in the second cell anyways. That’ll allow it to span the two cols, leaving the remaining rows alone.

    Get those fixed, and you may want to run it through a validator. 95% of all layout problems can be fixed simply by validating the source.

    -tg

    I was just looking at the source and that is what I saw, too. I know some tutorials suggest one does not need to close the tr’s and td’s but I think it is best for compatibility between browsers. The layout in this case is vastly different in IE and FF

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] can’t get table to fix’ is closed to new replies.