html - overlaping contents inside ul, ul's size which is too small -


i keep wondering why ul size small while contents inside ul overlaps, wanted height automatically resized responsive , align in each borders top , bottom, adding fixed height let 500px when resize browser, contents overlaps , not aligned in borders, ideas?

here's fiddle: jsfiddle.net/d9pkb/

add overflow:auto ul#textwrap.

jsfiddle example

ul#textwrap {     width:80%;     height:100%;     margin:20px auto;     padding:5% 6% 5% 6%;     -webkit-border-radius: 20px;     border-radius: 20px;     border-left:0px;     border-right:0px;     border-top:2px solid #aaa;     border-bottom:2px solid #aaa;     overflow:auto; } 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -