The "invisible" line below an hyperlink (i.e. text-decoration: none;)

by
dansbanners
Profile picture of dansbanners
Posts: Threads: Thanks: Account age: less than a second
1 replies
Hi,

Has anyone noticed that there's sometime an invisible, clickable line below an hyperlink? Particularly when its CSS text-decoration property is set to none?

It's much less noticeable in hyperlinks with smaller fonts. It wasn't till I happen to place the cursor below a large text in my website was when I noticed I was able to click on the white space below the hyperlink.

For a while there, I kept checking my codes. Thinking it may have been caused by an error. It wasn't till I realized that that's where the hyperlink's underline would have been if its text decoration had been set to underline.

If you see what I mean? And is there a way around this? Thanks.
#hyperlink #invisible #line #textdecoration
Avatar of Unregistered

Need 10 more characters to post

Loading...
  • Profile picture of the author savidge4
    savidge4
    Profile picture of savidge4
    Posts: Threads: Thanks: Account age: less than a second
    Originally Posted by dansbanners View Post

    Hi,

    Has anyone noticed that there's sometime an invisible, clickable line below an hyperlink? Particularly when its CSS text-decoration property is set to none?

    It's much less noticeable in hyperlinks with smaller fonts. It wasn't till I happen to place the cursor below a large text in my website was when I noticed I was able to click on the white space below the hyperlink.

    For a while there, I kept checking my codes. Thinking it may have been caused by an error. It wasn't till I realized that that's where the hyperlink's underline would have been if its text decoration had been set to underline.

    If you see what I mean? And is there a way around this? Thanks.
    By default there is always a line - ALWAYS. by CSSing it out... you are simply hiding it, and not removing it.. its still there - and there is no way to change that.
    Signature
    Success is an ACT not an idea

Trending Topics