Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

a:active{ problem...

Status
Not open for further replies.

vbkris

Programmer
Jan 20, 2003
5,994
0
0
IN
hi,
i have a css like this:
Code:
<style type=&quot;text/css&quot;>
<!--
a:hover{color: #333399; text-decoration: bolder}
a:click{color: #FFFFFF; text-decoration: none}
a:active{color: #333399; text-decoration: none}
-->
</style>

it works fine if the page is one HTML file, ie the colors switch correctly.

but when i use frames(two frames top one holds this link page, bottom some other file) and if i click on a link in the bottom frame this link's highlight vanishes (i guess beacause its no more active). how can i overcome that. i dont want to use gifs...

Known is handfull, Unknown is worldfull
 
make sure you put
<link rel=&quot;stylesheet&quot; href=&quot;stylesheet.css&quot;>
in every html page not just the frames page.

Aaron Taylor
John Mutch Electronics
 
oops, sorry bout the a:click one, the problem is with the a:visited one. and aaronjme how will ur solution solve the problem? i dont want the links to be highlighted in that fashion in any other page...

Known is handfull, Unknown is worldfull
 
Still about hierarchy. Isn`t that right that a &quot;a:visited&quot; is last instead of hover.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top