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
  • 153 views
  • Last reply by none1

more options

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)

more options

I don't see the link in the code.

more options

PavelkoT said

I don't see the link in the code.

look carefully "http://mozilla.org"

more options

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">

more options

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

more options

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?

more options

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

more options

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

more options

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

more options

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.

more options

I don't see & understend what you do?

when you save, url changing...

please write your url

more options

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

more options

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?

more options

none1, learn HTML.

more options

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)

more options

Attention right answer!


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

more options

Thank Very MUCH you all