logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > HTML and CSS
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 10-31-2011, 05:33 PM   #1
tony09uk
 
Join Date: Oct 2010
Posts: 340
Default horizontal list

Im missing something simple :s please help.

I want to display the list horizontally, In the past I have done this:

ul{
list-style:none;
}
ul li{
float:left;
}

Which worked nicely.

But it hasn't worked for the code below, I have some span tags in there, is that what is wrong and if so how do I sort it?


<ul>
<li><a href="#"> Home<br/><span class="smaller">Site introduction</span></a></li>
<li><a href="#"> Classroom<br/><span class="smaller">Your lessons</span></a></li>
<li><a href="#"> Forum<br/><span class="smaller">Friendly people</span></a></li>
<li><a href="#"> Jargon<br/><span class="smaller">Learning the lingo</span></a></li>
<li><a href="#"> Gallery<br/><span class="smaller">Users photo's</span></a></li>
<li><a href="#"> F.A.Q's<br/><span class="smaller">Questions</span></a></li>
<li><a href="#"> Contact<br/><span class="smaller">Send a message</span></a></li>
</ul>
tony09uk is offline   Reply With Quote
Old 10-31-2011, 05:41 PM   #2
tony09uk
 
Join Date: Oct 2010
Posts: 340
Default

apologies for clogging up the forum with such a stupid question. Ive sorted it now. I had it sat in a DIV of 200px
tony09uk is offline   Reply With Quote
Old 10-31-2011, 06:08 PM   #3
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

Great you found out

Remember to always provide a link to browser issues. You rarely can take code out of it's context to troubleshoot.
domedia is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:45 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com