/    Sign up×
Community /Pin to ProfileBookmark

onclick with underline…… Problem!

I have a small problem i hope someone can help me solve it!
I want to have the text underlined when i hover with the mouse over it, have tried a few onmouseover dident work and i do not want to put the links on “a href” have one odd link for that(Home), but all “a onclick” links should only be clickable and underlined when hovering with the crosshair. have also tried to add “a:active” command but it dident work, all “a onclick” links do [U]not[/U] respond to the *General layout*?
If anyone have any ideas how to fix this please help me!!!
😮
/JLH21

[B]the code:[/B]
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<meta name = “keywords” content = “” />
<meta name = “description” content = “” />
<link rel = “” type = “text/css” href = “”/>

<style type=”text/css”>
<!–
/* General layout */
a:link { text-decoration: none; color: 3B15E9; }
a:visited { text-decoration: none; color: 3B15E9; }
a:hover { text-decoration: underline; color: 333333; }
–>
</style>

<style>
BODY {scrollbar-face-color:#F7F5A7;
scrollbar-arrow-color:#000000;
scrollbar-highlight-color:#F7F5A7;
scrollbar-3dlight-color:#F7F5A7;
scrollbar-shadow-color:#808080;
scrollbar-darkshadow-color:#000000;
scrollbar-track-color:#F7F5A7;
}
</style>

<script language=”JavaScript” type=”text/JavaScript”>
<!–
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+”.location='”+args[i+1]+”‘”);
}
//–>
</script>
</head>
<Body bgcolor=”#F7F5A7″>

<table width=190 border=0 cellpadding=5 cellspacing=0 align=”left”><tr align=”left” style=”cursor:crosshair”>
<td><i><b><font color=”#333333″ face=”Arial” size=”-1″>
Check it!</font></b></i><ol>
<br>
<font size=”1″><a href=”Index.html” target=_top>Home</a></font>
<br><br>

<a onclick=”parent.document.getElementById(‘three’).src=’01.html'”><font color=”#333333″ face=”Arial” size=”-2″>
<li>Out1<font color=”#333333″ face=”Arial” size=”-2″>
</span></font>

<a onclick=”parent.document.getElementById(‘three’).src=’02.html'”><font color=”#333333″ face=”Arial” size=”-2″>
</li>
<li>Out2<font color=”#333333″ face=”Arial” size=”-2″>
</span></font>

<a onclick=”parent.document.getElementById(‘three’).src=’03A.html'”><font color=”#333333″ face=”Arial” size=”-2″><span style=”font-size:10″>
</li>
<li>Out3<font color=”#333333″ face=”Arial” size=”-2″><span style=”font-size:10″>
</span></font>
<ol>
<li>-00
<a onclick=”parent.document.getElementById(‘three’).src=’03B.html'”><font color=”#333333″ face=”Arial” size=”-2″><span style=”font-size:10″>
</li>
<li>-01</ol>
<font color=”#333333″ face=”Arial” size=”-2″><span style=”font-size:10″>
</span></font>

<a onclick=”parent.document.getElementById(‘three’).src=’05.html'”>
<font color=”#333333″ face=”Arial” size=”-2″><span style=”font-size:10″>
</li>
<li>Out5<font color=”#333333″ face=”Arial” size=”-2″><span style=”font-size:10″>
</span></font>
</li>
</td></tr></table>
</body>
</html>

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@FangMay 01.2005 — color: [COLOR=Red]#[/COLOR]3B15E9;
Copy linkTweet thisAlerts:
@jlh21authorMay 02.2005 — color: [COLOR=Red]#[/COLOR]3B15E9;[/QUOTE]

Thanks for the try but what i wrote was that "a onclick" links do [B]NOT[/B] respond to the *General layout* so changing color does not help me and i just want to have the onclick links [U]underlined[/U] when hover.
Copy linkTweet thisAlerts:
@rhsundergroundMay 02.2005 — a:hover
×

Success!

Help @jlh21 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.1,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...