/    Sign up×
Community /Pin to ProfileBookmark

first link in set not working

I have a set of five links, and the first one won’t work. It doesn’t do anything when you hover on it, and it doesn’t work when it is clicked. Here’s my CSS:

[CODE]
.sublinks {
position: relative;
top: 5%;
left: 5%;
width: 90%;
height: 90%;
background-color: transparent;
z-index: 3;
}
.sublinks a {
width: 100%;
font-family: Times New Roman, Times, serif;
font-size: 16px;
font-weight: bold;
cursor: pointer;
color: #6C2B29;
text-align: right;
text-decoration: none;
background-color: transparent;
padding: 0;
border-color: #6C2B29;
border-style: solid;
border-width: 0 0 2px 0;
display: block;
}
.sublinks a:hover, .sublinks a:active {
color: #BBBBBB;
border-color: #BBBBBB;
}
[/CODE]

The other four links work perfectly, so I can’t figure out what the problem is. The CSS is valid, and the page (XHTML) is also valid. Here’s a link to the page:

[url]http://www.radioactiverabbit.com/dbaudio/index.php[/url]

Thanks!

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@FangOct 04.2003 — <DIV id=top> is covering the first link because the z-index is wrong.

I don't think you need the z-index.

Use of z-index:2; twice is virtually pointless as is applying a z-index to a class, z-indicies are unique.
Copy linkTweet thisAlerts:
@PunkSktBrdr01authorOct 04.2003 — Thanks, Fang! All set now. Works perfectly.
×

Success!

Help @PunkSktBrdr01 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.8,
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,
)...