Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-30-2003, 12:49 PM   #1
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,382
Question text links

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.
Force Flow is offline   Reply With Quote
Old 01-30-2003, 02:09 PM   #2
Staff
Premium Member
 
mairving's Avatar
 
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:

&ltstyle>
A {text-decoration:none;}
A:link {text-decoration:none;}
A:visited {text-decoration:none}
A:active { text-decoration:none;}
A:hover { text-decoration:underline;}
&lt/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:

&ltstyle>
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;}
&lt/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
mairving is offline   Reply With Quote
Old 01-30-2003, 02:42 PM   #3
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,382
Thanks mairving! That text enlarger code is pretty slick
Force Flow is offline   Reply With Quote
Old 01-30-2003, 04:00 PM   #4
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Quote:
Originally posted by force_flow2002
Thanks mairving! That text enlarger code is pretty slick
Yeah, but it does do weird things with other browsers. Generally they will display the large font but in the same amount of space that the originally sized font was.
mairving is offline   Reply With Quote
Old 01-30-2003, 07:04 PM   #5
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
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.
Force Flow is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:16 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2