WordPress.org

Ready to get started?Download WordPress

Forums

Help For Validate my page (7 posts)

  1. iamarock
    Member
    Posted 9 years ago #

    Please, I need a little help to fix the last error to validate my page as XHTML

    Is an error with links categories and

  2. tags, the piece of code with problems, located on sidebar.php is:

    <li id="links"><div class="menutitle"><?php _e("Links")?></div>

    <?php get_links_list(); ?>

  3. I tried to put

      and
    before and after the php sentence but then I get and ugly efect on the list, and empy arrow before the category headings.

    Here is my page:

    http://www.computer-age.net

    Under META, the link "codigo xhtml valido" shows the W3C analisis.

    Help, please!!!

    Thank you very much.

  • iamarock
    Member
    Posted 9 years ago #

    The Code:

    <!---

    <li id="links"><div class="menutitle"><?php _e("Links")?></div>

    <?php get_links_list(); ?>

    </li>
    --->

    I mean <!--
    <ul> and </ul>
    -->

    Thanks

  • moshu
    Member
    Posted 9 years ago #

    Put the code in backticks!

  • XeroCool
    Member
    Posted 9 years ago #

    Er...Use when posting HTML/PHP CODE. this page is screwed..

  • Mark (podz)
    Support Maven
    Posted 9 years ago #

    This page is fixed :)

  • Ming
    Member
    Posted 9 years ago #

    You're missing an <ul> (unordered list) elements around your <li>...</li> (list item).

    Try changing your code to this:
    <ul><?php get_links_list(); ?></ul>

  • iamarock
    Member
    Posted 9 years ago #

    I'm so sorry, it's the first time i paste code in this forum, and there's no way to edit or remove the post...

    Ming, I tried with ul tags, but I get and empty arrow before each category title.

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.