html - How to set up a height for a <div> in responsive css designs? -
i trying make responsive website. issue if not setting div height bottom of div content has come , overlay top div contents. if sets height, when see in responsive takes full height , show white space. can guys please sort out?
you want this:
<div style="height:20%"> content </div>
or
<div style="height:40px"> content </div>
use % specify amount of space div in current container or px number of pixels
Comments
Post a Comment