Jump to content
  • 0

Problems with H1 tag


ihorko
 Share

Question

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>

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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

<h1 style="display:inline;">

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy