Support

Account

Home Forums General Issues Values rendering outside html table

Solved

Values rendering outside html table

  • So I have this code:

    <table class=”hover”>
    <tbody>
    <tr>1st Floor</tr>
    <tr><?php the_field(‘1st_floor_sf’); ?></tr>
    <tr><?php the_field(‘1st_floor_availability’); ?></tr>
    </tbody>
    </table>

    But I see this in the Chrome inspector:

    “1st Floor13,773 SFAvailable”
    <table class=”hover”>
    <tbody>

    Weird thing is, when I “View the code” it looks fine with everything where it’s supposed to be.

    What am I doing wrong? The rest of the data looks fine.

  • The problem is that you don’t have any <th> or <td> elements wrapping the content.

  • I feel so stupid now… Anyway, Thanks!

  • This reply has been marked as private.
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Values rendering outside html table’ is closed to new replies.