Forums

[resolved] Lone unwanted left angle bracket (<) on a page (6 posts)

  1. rforeman
    Member
    Posted 3 years ago #

    I have a lone unwanted left angle bracket (<) on a page just before a table tag. Can't see it in the page source. Please take a look here: http://cherryvale.ca/product-list/.
    Is WordPress misreading the HTML code?
    Thanks
    Ron

  2. damienk
    Member
    Posted 3 years ago #

    Is it possibly just a human error? Taking a look in Firebug reveals this:

    <div id="homepagefeatured">
    <h1>Product List</h1>
    We are preparing our catalogue. In the meantime here is our latest Product List.
    <br />
    <
    <table cellspacing="1" cellpadding="1" border="0" align="left">
    <tbody>

    Just a lone "<" sitting there before the table. Perhaps you placed an extra bracket in there by mistake? If not, please post some of the code you see in your theme editor.

  3. Chrisber
    Member
    Posted 3 years ago #

    Why are you using tables anyway?

  4. rforeman
    Member
    Posted 3 years ago #

    Hi Damienk,
    Thanks for your reply! Here is the code from the theme editor:

    <div id="homepagefeatured">
    <h1>Product List</h1>
    We are preparing our catalogue. In the meantime here is our latest Product List.
    <table border="0" cellspacing="1" cellpadding="1" align="left">
    <tr>
    <td colspan="2" align="center">Available as of August 25th!</td>
    </tr>

    I had already looked for that lone <.
    Thanks for your efforts!!

  5. rforeman
    Member
    Posted 3 years ago #

    Hi Chrisber,
    Thanks for your reply.
    I'm using tables when in a hurry while I get better with CSS.
    Ron

  6. rforeman
    Member
    Posted 3 years ago #

    I used the validator (http://validator.w3.org/) to check the page and this showed that there was an extra < much further down in the table which was displaying before the table.

    This is now resolved. My error. I should be using CSS.

    Thanks for your help!!!

Topic Closed

This topic has been closed to new replies.

About this Topic