css - Floating DIV Containers -
am creating news container , within news content heading, images(if any), summary , read more link.
the news content placed in div fixed width dont want fixed height however.
the issue want containers float on left, works since height not same getting white space between 3rd , 4th one.
how can fix this?
you no need specify height.the height automatically adjusted based on content size.
<div id="news-content"></div> css
#news-content { width:100%; float:left; }
Comments
Post a Comment