CSS: can change height by px, but not by %
Posted
by
cag8f
on Stack Overflow
See other posts from Stack Overflow
or by cag8f
Published on 2014-06-07T03:09:39Z
Indexed on
2014/06/07
3:26 UTC
Read the original article
Hit count: 78
I am trying to edit the CSS of my Wordpress theme. I have an element whose height I can successfully change from within Element Inspector, if I specify a certain pixel height, e.g. height=100px; But when I try to change the height by specifying a percentage, e.g. height=50%; the element does not change height. Any thoughts on what I'm doing wrong, or how to troubleshoot? None of the parent elements appear to have any height properties.
© Stack Overflow or respective owner