[img=http://cm.qzs.qq.com/qzone/photo/zone/new/photoNewView.html#aid=V13enn621fH0VC&lloc=NDFi5.LOECe*p0.YmwoNF0dxOrNhAAA!][/img]
As shown in the picture: The red line is a div1
floating to the right [img=http://b96.photo.store.qq.com/psb?/V13enn621fH0VC/jWBrKPD0zwVHN0NVgI.ONb0rZh0hsVKfTmrR61DcR6A!/b/YRokQzlbdwAAYkeUPjk7dwAA][/im g]
As shown in the picture: the red circle is div2 nested in div1 floating to the left
[img=http://b95.photo.store.qq.com/psb?/V13enn621fH0VC/FQkuMAg2ng.PgeVFZtGI* PY1PRHfWWADKBySggL1hgo!/b/YT2Qqjj8dQAAYkwnrzjkdgAA][/img]
As shown in the picture: the space in the red circle is generated. How to clear the excess space?
This is the simplified code:
html:
padding:0;
}
I want to know How to prevent the small block from overflowing the parent block
The original poster used html css to present the problem.
All the pictures are down = =