X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.6 r602
  • Shockwave Flash 29.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

More Information

PavelkoT 4 solutions 96 answers

I don't see the link in the code.

I don't see the link in the code.

Question owner

PavelkoT said

I don't see the link in the code.

look carefully "http://mozilla.org"

''PavelkoT [[#answer-1113939|said]]'' <blockquote> I don't see the link in the code. </blockquote> look carefully "http://mozilla.org"
FredMcD
  • Top 10 Contributor
4254 solutions 59583 answers

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

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"> <div class="wrapper"> <div class="nav" id="main-nav"> <div id="sub-navs"> <button class="sub-btn"><a href="http://mozilla.org">
FredMcD
  • Top 10 Contributor
4254 solutions 59583 answers

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

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

Question owner

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?

''FredMcD [[#answer-1113960|said]]'' <blockquote> In Firefox and Win IE; 'Mozilla' is just plain text, not a link. </blockquote> why ? we have tag <a> and in opera, and chrome it's link but not for firefox, why?
PavelkoT 4 solutions 96 answers

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.

''none1 [[#question-1218639|said]]'' <blockquote> 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 </blockquote> In my case any links doesn't work. Something is wrong in your JS + CSS.

Modified by PavelkoT

Question owner

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

''PavelkoT [[#answer-1113977|said]]'' <blockquote> ''none1 [[#question-1218639|said]]'' <blockquote> 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 </blockquote> In my case any links doesn't work. Something is wrong in your JS + CSS. </blockquote> link have only button "firefox"! try open it in opera or chrome
PavelkoT 4 solutions 96 answers

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

'''none1''' anybody can edit your code. As you undestood I did that.
TyDraniu
  • Top 25 Contributor
318 solutions 1831 answers

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.

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.

Question owner

I don't see & understend what you do?

when you save, url changing...

please write your url

I don't see & understend what you do? when you save, url changing... please write your url
PavelkoT 4 solutions 96 answers

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

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

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

Question owner

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?

''TyDraniu [[#answer-1113996|said]]'' <blockquote> 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. </blockquote> ok, on what tag I can replace <button>, for minimal changin all code?
PavelkoT 4 solutions 96 answers

none1, learn HTML.

'''none1''', learn HTML.
TyDraniu
  • Top 25 Contributor
318 solutions 1831 answers

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)

''none1 [[#answer-1114001|said]]'' <blockquote> ok, on what tag I can replace <button>, for minimal changin all code? </blockquote> Use just <a> with proper styling (using [https://developer.mozilla.org/en-US/docs/Web/CSS/display display: block] property)

Question owner

Attention right answer!


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

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

Question owner

Thank Very MUCH you all

Thank Very MUCH you all