css - What are the differences between auto and 100%? -
what differences between these 2 styles :
.styleone { height: auto; } .styletwo { height: 100%; }
with "height: auto" height of element depend on content in it. height of 100% make te element high parent.
note if height of element 100% , parent has fixed height position of parent not relative, element high html element.
Comments
Post a Comment