Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Learn More

Button height not working in v95.0?

  • 1 wótegrono
  • 1 ma toś ten problem
  • 2 naglěda
  • Slědne wótegrono wót CharlesEF

more options

Hi All,

What is the secret to getting a button height percentage to work in a table td? This code works fine in my Chromium browser but not FireFox v95.0 on Win10 Pro:

<td class="day date">

 <button type="button" style="height: 75%; width: 75%;">1</button>

</td>

The width seems to work but not height. Only the table element has a height of 100%. Since this is a calendar app I prefer not to set height for tr and td, if possible.

Is there any way to get this to work otherwise?


Thanks for any help,

Charles

Hi All, What is the secret to getting a button height percentage to work in a table td? This code works fine in my Chromium browser but not FireFox v95.0 on Win10 Pro: <td class="day date"> <button type="button" style="height: 75%; width: 75%;">1</button> </td> The width seems to work but not height. Only the table element has a height of 100%. Since this is a calendar app I prefer not to set height for tr and td, if possible. Is there any way to get this to work otherwise? Thanks for any help, Charles

Wšykne wótegrona (1)

more options

I think I found a solution for my problem. At least Firefox and my Chromium browsers look the same. I had to give my table tr's and td's a height after all. However, I found a height of 10% was all that was needed.

Unless someone suggests something better I will consider my problem solved.


Thank you,

Charles