WordPress.org

Ready to get started?Download WordPress

Forums

Validation Error (2 posts)

  1. James
    Member
    Posted 2 years ago #

    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 -->
    <? } ?>

  2. Tara
    Member
    Posted 2 years ago #

    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 -->

Topic Closed

This topic has been closed to new replies.

About this Topic