Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic 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 February 24th, 2005, 11:29 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default How to: Remove underlining from hyperlinks

<style>
a.{text-decoration:none}
</style>

www.crmpicco.co.uk
__________________
_______________________
Ayrshire Minis - a Mini E-Community
http://www.ayrshireminis.com
http://www.crmpicco.co.uk
 
Old February 25th, 2005, 04:51 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

hi,
i can't understand your question, but here a style shhet code
.newstyle
{
    FONT-SIZE: 11px;
    COLOR: white;
    FONT-FAMILY: Verdana;
    TEXT-DECORATION: none
}
.newstyle A:active
{
    FONT-SIZE: 11px;
    COLOR: blue;
    FONT-FAMILY: Verdana;
    TEXT-DECORATION: none
}
.newstyle A:link
{
    FONT-SIZE: 11px;
    COLOR: blue;
    FONT-FAMILY: Verdana;
    TEXT-DECORATION: none
}
.newstyle A:visited
{
    FONT-SIZE: 11px;
    COLOR: blue;
    FONT-FAMILY: Verdana;
    TEXT-DECORATION: none
}
.newstyle A:hover
{
    FONT-SIZE: 11px;
    COLOR: blue;
    FONT-FAMILY: Verdana;
    TEXT-DECORATION: none
}

surendran
(Anything is Possible)
 
Old February 25th, 2005, 05:03 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Quote:
quote:Originally posted by crmpicco
 <style>
a.{text-decoration:none}
</style>

www.crmpicco.co.uk
Either remove the dot in the selector or put a class name there.

a { ... } /* matches all a elements */
a.foo { ... ) /* matches only a elements of the class foo */

(o<
//\ =^..^=
 
Old March 15th, 2005, 08:52 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

its a tip

www.crmpicco.co.uk
www.crmpicco.co.uk.tt
www.milklemonadechocolate.uk.tt
www.griswolds.uk.tt
 
Old May 27th, 2005, 07:53 AM
Friend of Wrox
 
Join Date: May 2005
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default

use this:

<style>
a:{text-decoration:none}
</style>

 
Old June 1st, 2005, 06:31 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

Code:
<style>
a.{text-decoration:none}
</style>
that was just a TIP, not a q

www.crmpicco.co.uk
www.crmpicco.co.uk.tt
www.milklemonadechocolate.uk.tt
www.griswolds.uk.tt
www.piccosmini.co.uk.tt
www.morton.uk.tt





Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlinks stephens1982 HTML Code Clinic 1 August 29th, 2005 12:13 AM
hyperlinks in XSLT, please help. figit XSLT 1 May 6th, 2005 03:06 AM
Hyperlinks bahachin Excel VBA 2 February 13th, 2005 04:50 AM
hyperlinks sbhandar Classic ASP Basics 4 August 19th, 2004 09:17 AM
Underlining the entire line of a textbox in an acc Smokinn Access 1 February 3rd, 2004 07:04 PM





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