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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refreshing Hyperlinks through Sessions

Status
Not open for further replies.

kaycee79

Technical User
Jan 10, 2004
82
GB
The links that i have on my webpage changed to 'red' once a user has accessed it, is there a way of changing it back to blue once the user has left the site, so it looks untouched? I am using session variables in my site as well

Thanks in advance
 
You might try the pragma no cache meta tag, otherwise, use CSS to control the colors.
 
With Cascading Style Sheets you have good influence on the layout. You can determine the color of a link, a visited link and when the mouse hovers the link:


a:link {font-size: 8pt;
cursor: hand;
color: white;
font-family: Verdana;
background-color: #b22222;
text-decoration: underline;}

a:visited {font-size: 8pt;
cursor: hand;
color: white;
font-family: Verdana;
background-color: #b22222;
text-decoration: underline;}


a:hover {font-size: 8pt;
cursor: hand;
color: #b22222;
font-family: Verdana;
background-color: white;
text-decoration: underline;}


More info:

hth,
Foxbox
ttmug.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top