How to create tab

H

hon123456

Dear all,

I have the following html code, now I want to arrange the <li>
item to tabs. I download the code
from a website which arrange the item in tabs. But I can only see <li>
Item one by one. I want
to arrange them like tabs. Please helop.

<div id="ddtoptabs">
<ul>
<li style="margin-left: 1px" id="current"><a href="http://
www.dynamicdrive.com" title="Home"><span>Home</span></a></li>
<li><a href="http://www.dynamicdrive.com/style/" title="New"><span>CSS
Home</span></a></li>
<li><a href="http://www.dynamicdrive.com/style/blog/"
title="New"><span>Blog</span></a></li>
<li><a href="http://tools.dynamicdrive.com" title="Tools"><span>Tools</
span></a></li>
<li><a href="http://www.dynamicdrive.com/forums/" title="DHTML
Forums"><span>Forums</span></a></li>
</ul>
</div>
 
R

rf

(e-mail address removed):

<dipping into gropers again. This is sometimes more fun than those guys
over at 24hoursupport.helpdesk>
I have the following html code,

Where is the URL?
now I want to arrange the <li>
item to tabs. I download the code
from a website which arrange the item in tabs. But I can only see <li>
Item one by one. I want
to arrange them like tabs. Please helop.

<snip totally incomplete code fragment>

You didn't download the CSS, did you? :)
 
H

Harlan Messinger

hon123456 said:
Dear all,

I have the following html code, now I want to arrange the <li>
item to tabs. I download the code
from a website which arrange the item in tabs. But I can only see <li>
Item one by one. I want
to arrange them like tabs. Please helop.

<div id="ddtoptabs">
<ul>
<li style="margin-left: 1px" id="current"><a href="http://
www.dynamicdrive.com" title="Home"><span>Home</span></a></li>
<li><a href="http://www.dynamicdrive.com/style/" title="New"><span>CSS
Home</span></a></li>
<li><a href="http://www.dynamicdrive.com/style/blog/"
title="New"><span>Blog</span></a></li>
<li><a href="http://tools.dynamicdrive.com" title="Tools"><span>Tools</
span></a></li>
<li><a href="http://www.dynamicdrive.com/forums/" title="DHTML
Forums"><span>Forums</span></a></li>
</ul>
</div>

There isn't anything here that would make the list look like anything
other than a list. It's certain that you need the CSS that the website
is using for the styling. Or am I missing something--surely you're aware
of the role of CSS, given that one of your items is "CSS Home"?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top