|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,382
|
On the PCMech page, there are text links (motherboards, processors, etc.) that change with a mouseover. How do you do that?
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
|
|
|
|
|
|
#2 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
It is pretty easy to do. You can use a stylesheet or use style tags within the head section of your web page. Basically you would code something like this:
<style> A {text-decoration:none;} A:link {text-decoration:none;} A:visited {text-decoration:none} A:active { text-decoration:none;} A:hover { text-decoration:underline;} </style> You basically can just tell it for normal links to not underline those but on hover to underline the link. On some of the links on this site, they use both overline and underline. You can also get kind of freaky with links if you want like this: <style> A {text-decoration:none;} A:link {text-decoration:none;} A:visited {text-decoration:none} A:active { text-decoration:none;} A:hover { text-decoration:underline; font-size: 11em;} </style> For more info read this on Cascading Style Sheets.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
|
|
#3 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,382
|
Thanks mairving!
That text enlarger code is pretty slick
|
|
|
|
|
|
#4 | |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,382
|
Ah. I wasn't really planning on using that one anyway. I just thought it was neat.
The underline one is probably going to get a lot of use, though.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|