Support » Fixing WordPress » Validation Error

  • James

    (@sureshkutti)


    Im getting validation error. Below i gave the code, which is used. Because the div tag in the for loop. Please help me to solve this bug.

    Thanks

    <? for($i=0; $i<count($tabs_array);$i++) { ?>
    <div class=”panel”>
    <div class=”wrapper”>
    <div id=”panel_bg”>
    <div id=”panel_hd”><? echo $tabs_array[$i][‘title’]; ?></div> <!– panel_hd –>
    <div id=”panel_bd”> <img src=”<? echo $tabs_array[$i][‘image’]; ?>” width=”282″ height=”157″ alt=”services” />
    <div class=”panel_tab_desc”><? echo $tabs_array[$i][‘desc’]; ?></div> <!– panel_tab_desc –>
    <div class=”panel-more-link”>“>Read more</div> <!– panel-more-link –>
    </div> <!– panel_bd –>
    </div> <!– panel_bg –>
    </div> <!– wrapper –>
    </div> <!– panel –>
    <? } ?>

Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    ty changin this line:
    <div class="panel-more-link">">Read more</div> <!-- panel-more-link -->

    to this:
    <div class="panel-more-link">Read more</div> <!-- panel-more-link -->

Viewing 1 replies (of 1 total)
  • The topic ‘Validation Error’ is closed to new replies.