Problems with H1 tag

Discussion in 'HTML & Website Design' started by ihorko, Sep 4, 2009.

  1. #1
    I have a breadcrumbs in span tags, first bread crumb is "Home", rest of them shoulb be in <h1> tag, all breadcrumbs should show in one line, but <h1> breaks line.
    If I remove <h1> tag from code below, it works fine, all breadcrumbs are in one line. Please help how resolve it with CSS
    Example Code:

    <html>
    <head></head>
    <body>
    <table cellspacing="0" cellpadding="0" width="100%" border="1">
    <tbody>
    <tr>
    <td nowrap="nowrap">
    <a href="./">Home</a>
    <h1>
    <span>
    » <a href="page1.html">BreadCrumb1</a>
    </span>
    <span >
    » <a href="page2.html">BreadCrumb2</a>
    </span>
    </h1>
    »
    <a href="page3.html">
    <img style=" src="/IMD/false10.gif">
    </a>
    <span>
    10 items found
    </span>
    </td>
    </tr>
    </tbody>
    </table>
    </body>
    </html>
     
    ihorko, Sep 4, 2009 IP
  2. ihorko

    ihorko Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <h1 style="display:inline;">
     
    ihorko, Sep 4, 2009 IP