Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html height percentage not working

<!--a child element inherits height/width from parent element
so defined height in parent to be able to take a percentage in child-->
<!--ex:-->
body {height: 500px}
div {height: 50%}
 
PREVIOUS NEXT
Tagged: #html #height #percentage #working
ADD COMMENT
Topic
Name
5+4 =