Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Problem with this list coding.
Old 08-29-2007, 09:50 PM Problem with this list coding.
Experienced Talker

Posts: 40
Name: james
Trades: 0
Why dont the dashes show up between the links.

Code:
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style>
div.bottomNavBar{
background:#25587E;
margin:9px 9px 0 9px;
}
ul.bottomNavBarul{
padding:0;
margin:0;
margin-left: 40px;
list-style-type:none;
text-transform:uppercase;
width:100%;
}
li.bottomNavBarli{
display:inline;
}
a.bottomNavBara{
float:left;
margin-right:5px;
padding:1px;
color:white;
text-decoration: none;
font-size:95%;
}
</style>
</head>
<body>
<div class="bottomNavBar">
<!-- Bottom Horizontal Navigation Bar Links Go Here -->
<ul class="bottomNavBarul">
<li class="bottomNavBarli"><a class="bottomNavBara" href="#">Link one</a></li> 
<li class="bottomNavBarli">-</li>
<li class="bottomNavBarli"><a class="bottomNavBara" href="#">Link two</a></li> 
<li class="bottomNavBarli">-</li>
<li class="bottomNavBarli"><a class="bottomNavBara" href="#">Link three</a></li> 
<li class="bottomNavBarli">-</li>
<li class="bottomNavBarli"><a class="bottomNavBara" href="#">Link four</a></li>
</ul>
</div>
</body>
</html>

Last edited by jamest; 08-29-2007 at 09:51 PM..
jamest is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-29-2007, 11:26 PM Re: Problem with this list coding.
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Why not just use a bottom border on the <li> items ???
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-29-2007, 11:48 PM Re: Problem with this list coding.
Experienced Talker

Posts: 40
Name: james
Trades: 0
I want it to look like this

Link 1 - Link 2 - Link 3 - Link 4
jamest is offline
Reply With Quote
View Public Profile
 
Old 08-30-2007, 03:20 PM Re: Problem with this list coding.
angele803's Avatar
Perfectly Imperfect

Posts: 1,774
Name: Stephanie
Location: Oklahoma
Trades: 2
Instead of the actual "-", try using the escape character. It looks like this: "& #150;" except for there is no space after the &.
__________________

Please login or register to view this content. Registration is FREE

Last edited by angele803; 08-30-2007 at 03:22 PM..
angele803 is offline
Reply With Quote
View Public Profile
 
Old 08-30-2007, 07:42 PM Re: Problem with this list coding.
Experienced Talker

Posts: 40
Name: james
Trades: 0
It shows up axactly the same. Like this

Link 1 - - -
Link 2 Link 3 Link 4
jamest is offline
Reply With Quote
View Public Profile
 
Old 08-30-2007, 10:23 PM Re: Problem with this list coding.
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Float the <li> not the <a>s :

li.bottomNavBarli{
display:inline;
float:left;
}
a.bottomNavBara{

margin-right:5px;
padding:1px;
color:white;
text-decoration: none;
font-size:95%;
}
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-30-2007, 10:44 PM Re: Problem with this list coding.
Experienced Talker

Posts: 40
Name: james
Trades: 0
Thanks that fixed it.
jamest is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Problem with this list coding.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31024 seconds with 12 queries