loki
16-11-2005, 06:59/06:59AM
i'm trying my first navlist here
http://www.portfoliodmc.com/index7.html
and have a couple of questions:
1. i've gerryrigged a blank space (between "...venues" and "restaurants" but i'm guessing this isn't correct code. what's the correct way to do this?
2. how do i control the colour of the blank cell. it's #90BADE but i don't see that in my style sheet.
3. how do i get rid of the bottom blank cell. ('m not even sure why it's displaying.)
4. abovementioned aside, it displays right in IE6 but not in FF1.0.7. is there a further bit a badcode in there?
<li><a href="index.html">Home</a></li>
<li><a href="barcelona.html">Barcelona</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="hotels-barcelona.html">Hotels</a></li>
<li><a href="conference-venues-barcelona.html">Conference & Meeting Venues</a></li>
<li></li>
<li><a href="restaurants-barcelona.html">Restaurants</a></li>
<li> <a href="transport-barcelona.html">Transport</a></li>
<li> <a href="entertainment-activities-barcelona.html">Entertainment</a></li>
<li><a href="destination-management-company.html" >Why Us?</a></li>
<li><a href="contact.html">Contact</a></li>
css is
#navlist li
{text-align: right;
}
#navlist
{
padding-left: 0;
margin-left: 0;
border-bottom: 1px solid gray;
width: 180px;
}
#navcontainer ul
{
list-style: none;
margin: 0;
padding: 0;
border: none;
}
#navcontainer li
{
border-bottom: 1px solid #F7F7F7;
margin: 0;
}
#navcontainer li a
{
display: block;
padding: 5px 5px 5px 0.5em;
border-left: 10px solid #682C73;
border-right: 10px solid #682C73;
background-color: #bc93b5;
color: #fff;
text-decoration: none;
width: 100%;
}
#navcontainer li a { width: auto; }
#navcontainer li a:hover
{
border-left: 10px solid #682C73;
border-right: 10px solid #682C73;
background-color: #682C73;
color: #fff;
}
thanks in advance. if i can get this right i promise never to use tables in my nav again!
http://www.portfoliodmc.com/index7.html
and have a couple of questions:
1. i've gerryrigged a blank space (between "...venues" and "restaurants" but i'm guessing this isn't correct code. what's the correct way to do this?
2. how do i control the colour of the blank cell. it's #90BADE but i don't see that in my style sheet.
3. how do i get rid of the bottom blank cell. ('m not even sure why it's displaying.)
4. abovementioned aside, it displays right in IE6 but not in FF1.0.7. is there a further bit a badcode in there?
<li><a href="index.html">Home</a></li>
<li><a href="barcelona.html">Barcelona</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="hotels-barcelona.html">Hotels</a></li>
<li><a href="conference-venues-barcelona.html">Conference & Meeting Venues</a></li>
<li></li>
<li><a href="restaurants-barcelona.html">Restaurants</a></li>
<li> <a href="transport-barcelona.html">Transport</a></li>
<li> <a href="entertainment-activities-barcelona.html">Entertainment</a></li>
<li><a href="destination-management-company.html" >Why Us?</a></li>
<li><a href="contact.html">Contact</a></li>
css is
#navlist li
{text-align: right;
}
#navlist
{
padding-left: 0;
margin-left: 0;
border-bottom: 1px solid gray;
width: 180px;
}
#navcontainer ul
{
list-style: none;
margin: 0;
padding: 0;
border: none;
}
#navcontainer li
{
border-bottom: 1px solid #F7F7F7;
margin: 0;
}
#navcontainer li a
{
display: block;
padding: 5px 5px 5px 0.5em;
border-left: 10px solid #682C73;
border-right: 10px solid #682C73;
background-color: #bc93b5;
color: #fff;
text-decoration: none;
width: 100%;
}
#navcontainer li a { width: auto; }
#navcontainer li a:hover
{
border-left: 10px solid #682C73;
border-right: 10px solid #682C73;
background-color: #682C73;
color: #fff;
}
thanks in advance. if i can get this right i promise never to use tables in my nav again!