• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 299
  • Last Modified:

link underline

how do you control whether a link is underlined or not?
0
boaty
Asked:
boaty
  • 4
  • 3
1 Solution
 
tinsiCommented:
A {
      text-decoration: none
}

or:

A {
      text-decoration: underline
}

in your style sheet.
0
 
boatyAuthor Commented:
So this controls A hrefs?
0
 
tinsiCommented:
yes. if you have your html like this:

<a href="link.html">this is a link</a>

and your style sheet like this:

A {
       text-decoration: none
       }

the links will have no underlining.

0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
tinsiCommented:
yes. if you have your html like this:

<a href="link.html">this is a link</a>

and your style sheet like this:

A {
       text-decoration: none
       }

the links will have no underlining.

0
 
tinsiCommented:
uops, sorry 'bout the double comment there :)


0
 
boatyAuthor Commented:
So this controls A hrefs?
0
 
boatyAuthor Commented:
Thanks!
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now