Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

155
Visualizações
HTML/JQuery - Body-width is not the same on all Browser

I use this code: "alert($('body').width());" to detect the Width of the body-element

and I found out that the body-width is not the same on different Browser,

  • On Edge, the Width is: 1535px (vertical Tabs activated)
  • On Avast, the Width is: 1583px
  • On Firefox, the Width is: 1583px
  • On Opera, the Width is: 1545px (vertical Tabs activated)

The width is not the same on Opera and Edge, because on both Browsers are the "vertical Tabs activated", so if I deactivate the vertical Tabs on Edge, I get the same width like Avast or Firefox (1583px).

Would you please help me to detect, if a user has the "vertical Tabs activated" on his Browser and how to get the width of the "vertical Tabs"?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda