Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

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

  • 16 ответов
  • 2 имеют эту проблему
  • 165 просмотров
  • Последний ответ от 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

Выбранное решение

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.

Прочитайте этот ответ в контексте 👍 1

Все ответы (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.

Изменено 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

Выбранное решение

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.

Изменено 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