firefox can't follow the link, in other browser no 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 👍 1All Replies (16)
I don't see the link in the code.
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
PavelkoT said
none1 saidgo 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 problemIn 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
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