It is common problem in html coding to most beginners. when you apply padding to floated div, it may goes bottom. Example <div style="width:1000px"> <div style="float:left; width:500px;">Left div</div> <div style="float:left; width:500px; padding:10px;">Right div</div> </div> Above code may occur problem when you apply padding:10px. Because, there are two child divs in the main div, main div [...]
↧