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

260
Visualizações
Sizing Weather Widget correctly (from weatherwidget.io)

I have configured a Widget from this Site: https://weatherwidget.io/

And embedded it on my Website.

I put it in a DIV and it automatically gets the width right but it doesn't fill in the height.

Is there any way to change this or do I have to write my own Weather-Widget?

It looks like this:

picture of my problem

The dark grey area is the DIV and the light grey Area is the Widget.

I want to fill the whole DIV.`

EDIT: It looks like this in the code:

    <div class="weatherdiv">

<a class="weatherwidget-io" href="https://forecast7.com/de/49d477d17/sankt-wendel/" data-label_1="SANKT WENDEL" data-label_2="Wetter" data-icons="Climacons Animated" data-mode="Current" data-days="3" data-theme="gray" data-basecolor="#626363" >SANKT WENDEL Wetter</a>
<script>
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='https://weatherwidget.io/js/widget.min.js';fjs.parentNode.insertBefore(js,fjs);}}(document,'script','weatherwidget-io-js');
</script>

</div>
about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

Need more context to understand better the question but if what i understood is correct and the structure is like this <div><mywidget></mywidget></div> you can declare the parent relative, the child absolute thanon the child you declare height 100% and it will fill up the whole space of the parent

about 4 years ago · Juan Pablo Isaza Relatório

0

After a little bit more research ->

Answer: with this Widget you can't!

about 4 years ago · Juan Pablo Isaza Relatório
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