Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

firefox can't follow the link, in other browser no problem

  • 16 replies
  • 2 have this problem
  • 23 views
  • Last reply by none1

go to https://codepen.io/anon/pen/pVGXZG hover mice on NAV and try click on "firefox"

other browser when you click on "firefox" following link without problem

go to https://codepen.io/anon/pen/pVGXZG hover mice on NAV and try click on "firefox" other browser when you click on "firefox" following link without problem

Chosen solution

Spec says, that inside of <button> you can have only phrasing content. That is, the <a> element inside <button> won't be interactive (clickable). Your code is simply invalid.

Read this answer in context 👍 1

All Replies (16)

I don't see the link in the code.

PavelkoT said

I don't see the link in the code.

look carefully "http://mozilla.org"

Found it under HTML

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Paytone+One" rel="stylesheet">

In Firefox and Win IE; 'Mozilla' is just plain text, not a link.

FredMcD said

In Firefox and Win IE; 'Mozilla' is just plain text, not a link.

why ? we have tag <a> and in opera, and chrome it's link but not for firefox, why?

none1 said

go to https://codepen.io/anon/pen/pVGXZG hover mice on NAV and try click on "firefox" other browser when you click on "firefox" following link without problem

In my case any links doesn't work. Something is wrong in your JS + CSS.

Modified by PavelkoT

PavelkoT said

none1 said
go to https://codepen.io/anon/pen/pVGXZG hover mice on NAV and try click on "firefox" other browser when you click on "firefox" following link without problem

In my case any links doesn't work. Something is wrong in your JS + CSS.

link have only button "firefox"! try open it in opera or chrome

none1 anybody can edit your code. As you undestood I did that.

Chosen Solution

Spec says, that inside of <button> you can have only phrasing content. That is, the <a> element inside <button> won't be interactive (clickable). Your code is simply invalid.

I don't see & understend what you do?

when you save, url changing...

please write your url

TyDraniu , exactly. :) This is why I still use Firefox, it ignores wrong code.

none1, your HTML code is bad. It makes me nevrous.

Modified by PavelkoT

TyDraniu said

Spec says, that inside of <button> you can have only phrasing content. That is, the <a> element inside <button> won't be interactive (clickable). Your code is simply invalid.

ok, on what tag I can replace <button>, for minimal changin all code?

none1, learn HTML.

none1 said

ok, on what tag I can replace <button>, for minimal changin all code?

Use just <a> with proper styling (using display: block property)

Attention right answer!


<button class="sub-btn" onclick="window.location.href='http://m.ua'">

Thank Very MUCH you all