+ 1
How can these two work together % & px.. just trying to make sure I'm understanding it. Thanks
<div>The total width of this element is <strong>100%</strong> and the total height is <strong>100px</strong> .</div>
6 Answers
+ 1
yes if an elem has
height 250 px
width 250 px
2nd elem
height 100% means take all available space meaning all the 250px
+ 1
100% means take all available space
just like saying in 10 cakes, how can 50% of it and 5 cakes work together
+ 1
so its saying take 100% of the 100px...??
+ 1
appreciate the advice and feedback... just trying to get into this world of code
+ 1
what's your advice on coding languages to learn starting out... I am also apart of W3Schools.com
0
ok great thanks