/    Sign up×
Community /Pin to ProfileBookmark

I need to know whats wrong!!

I have to figure out whats wrong…my list style menu is not even appearing on the page in IE6….whats happening?

heres the CSS
/* CSS Document */
ul#navigation {
width: 800px; /* Random width */
height: 100px; /* We know that a image is 104px high, so to show only
one of the menues in the image, the height would be the half: 52px *
/
padding: 0;
margin: 0;
list-style-type: none;
background:url(SWS/images/menu_06.png);

}

ul#navigation li {
padding: 0;
margin: 0 0px 0 0; /* Space between links */
float:left;
z-index:900;
visibility:visible;
}

ul#navigation li a {
display:block;
height: 100px; /* Same height as the ul */
}

ul#navigation li a[href=’index2.html’] {
width: 154px;
background:url(SWS/menu_01.png);

}

ul#navigation li a[href=’pricing.html’] {
width: 238px;
background:url(SWS/menu_02.png);
}

ul#navigation li a[href=’flash.html’] {
width: 229px;
background:url(SWS/menu_03.png);
}

ul#navigation li a[href=’contact.html’] {
width: 179px;
margin-left:;
background:url(SWS/menu_04.png);
}

ul#navigation li a:hover, ul#navigation li a.active {
background-position: left bottom;
/* When hovered, we want to show the second box in the image (bottom) */
}

ul#navigation li a em {
display: none;
}

to post a comment
CSS

7 Comments(s)

Copy linkTweet thisAlerts:
@FangDec 09.2009 — Attribute selectors are not supported in IE6
Copy linkTweet thisAlerts:
@jasonhr13authorDec 09.2009 — Ok, so how do I go about fixing the problem?
Copy linkTweet thisAlerts:
@FangDec 09.2009 — Use more classes or an id to identify the elements. There are several JavaScript solutions available on the web.
Copy linkTweet thisAlerts:
@jasonhr13authorDec 09.2009 — Can you elaborate more?
Copy linkTweet thisAlerts:
@FangDec 09.2009 — Give each navigation link an id
Copy linkTweet thisAlerts:
@jasonhr13authorDec 12.2009 — Whats a different solution for fixing this. obviously its not that hard seeing how alot of sites use this style of menu
Copy linkTweet thisAlerts:
@FangDec 12.2009 — Some use a JavaScript solution, but the css solution is more change of working. Some users have JavaScript disabled.
×

Success!

Help @jasonhr13 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...