English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am nesting the div and ul tags and this is affecting the appearance of the links in IE. The links work properly in Mozilla (only the active parent page is displayed as active and the child pages are displaying as inactive. But, in IE, because the parent page is active, it's causing the child pages to display as active as well.Here is my code:


CSS:
.navcontainer2
{
margin: 5px 0 0 10px;
}
.navlist2
{
border-bottom: 1px solid gray;
width: 150px;
}

.navlist2 li
{
list-style: none;
.navcontainer3
{margin: 5px 0 0 10px;
font-weight: bold;}
.navlist3{padding-left: 0;
margin-left: 0;width: 135px;}
.navlist3 li
{list-style: none;
margin: 0;
padding: 0.25em;}

2006-11-01 06:25:43 · 1 answers · asked by Lizardbreath 1 in Computers & Internet Programming & Design

1 answers

When styling links in css, make sure you follow the Love-Hate pattern (LVHA): Link, Visited, Hover and Active.

a:link { }
a:visited { }
a: hover { }
a:active { }

2006-11-01 17:39:15 · answer #1 · answered by achtungbaby 3 · 1 0

fedest.com, questions and answers