Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 11th, 2005, 09:02 AM
Authorized User
 
Join Date: Mar 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default change link color

i need to change a link's color on mouseover event.
how can i do it in asp.net without using Javascript ?
__________________
**************************************************
It bcums FATAL wen my brain puts my eyes on Call-Waiting ! >|B-)
 
Old March 11th, 2005, 10:35 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

This is the classic ASP forum - .net related questions are better suited in the .net area.

However I assume its done the same way - using style sheets. Put this in the head of your document, its fairly self explanitory. The color value you put in the a:hover property will be the color of your link's text onMouseOver

<style>
a {FONT-FAMILY:ARIAL;FONT-SIZE:10px;color:#0000ff;}
a:hover {color: #c41200;}
</style>

Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
change color of background meena88 C# 2005 3 December 1st, 2009 04:48 AM
re: color change jack_in_black ASP.NET 2.0 Professional 0 July 11th, 2006 07:24 AM
COLOR CHANGE IN TEXTBOXES Rashad Javascript How-To 5 November 28th, 2005 06:06 AM
Color change possability? rolandatem VB How-To 2 November 19th, 2004 03:52 PM
How can I change the shape/color of a button/link elisabeth Javascript How-To 21 September 24th, 2004 05:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.