2 replies [Last post]
gerard
Offline
Regular
Last seen: 12 years 38 weeks ago
Joined: 2005-08-19
Posts: 45
Points: 0

http://www.grannynet.co.uk/site/being_you_home.php

How do I get rid of the gaps between the links in IE6? Been driving me mad, this one - am I missing something obvious?

TIA

Gerard

  • How to use the forum
  • The forum
  • Contribute to grannynet
  • Grannynet awards for excellence
become a member



advert

/* ----------- left menu stuff ------------------------ */

#leftmenucontainer {
width: 145px;
margin-bottom: 150px;
margin-top: 10px;
}

#leftmenu
{
padding: 0 1px 1px;
margin-left: 0px;
font: bold 12px Verdana, sans-serif;
width: 145px;
background-color: #BA6588;
}
#leftmenu ul {
border: 0;
margin: 0;
}

#leftmenu li
{
list-style: none;
margin: 0;
border-top: 1px solid #CC9999;
text-align: left;
}

#leftmenu li a
{
padding: 3px 6px 3px 9px;
border-left: 15px solid #BA6588;
border-bottom: 0px;
border-top: 0px;
margin: 0px;
background: #FFEEFF;
text-decoration: none;
margin: 0;
display: block;
}

#leftmenu li a:link { color: #BA6588; }
#leftmenu li a:visited { color: #BA6588; }

#leftmenu li a:hover
{
border-color: #FFFFFF;
color: #FFF;
background: #959861;
}

/* ----------- end left menu stuff ------------------------ */

sticks464
Offline
Enthusiast
Topeka, KS.
Last seen: 8 years 47 weeks ago
Topeka, KS.
Timezone: GMT-6
Joined: 2006-10-18
Posts: 116
Points: 71

Your css should look like

Your css should look like this
#leftmenucontainer {
width: 145px;
margin-bottom: 150px;
margin-top: 10px;
}

#leftmenu {
padding: 0 1px 1px;
margin-left: 0px;
font: bold 12px Verdana, sans-serif;
width: 145px;
background-color: #BA6588;
list-style:none;
}

#leftmenu ul {
border: 0;
margin: 0;
}

#leftmenu li a {
width:115px;
padding: 3px 6px 3px 9px;
border-left: 15px solid #BA6588;
border-top: 1px solid #CC9999;
background: #FFEEFF;
margin: 0;
display: block;
}

#leftmenu a:link, #leftmenu a:visited { color: #BA6588; text-decoration:none;}

#leftmenu li a:hover {
border-left: 15px solid #ffffff;
border-top: 1px solid #CC9999;
color: #FFF;
background: #959861;
}

gerard
Offline
Regular
Last seen: 12 years 38 weeks ago
Joined: 2005-08-19
Posts: 45
Points: 0

thats great - many thanks

thats great - many thanks :thumbsup: