The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to prevent height extending while zoom out?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #278263

    *Somewhat reason img element doesn’t work for me. so I added link instead.


    I found that the height value changes when I zoom out in some browser, especially Chrome and Opera like this. link

    But in Firefox, it doesn’t extend how much I zoom out. link

    Is there any ways to stop the height changing in Chrome and Opera like Firefox does?

    Any tips or comments would be great to improve my skills.


          #container {
            position: relative;
            width: 400px;  height: 29rem;
            transition: all 400ms;
            background-color: black;   white-space: nowrap;
    Div's height keeps changing while I zooming out.
Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.