Home Forums General Issues Values rendering outside html table


Values rendering outside html table

  • So I have this code:

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

    But I see this in the Chrome inspector:

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

    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)

You must be logged in to reply to this topic.