How to create a perfect 3 columns layout using CSS , with cross-browser support ?
I have 3 divs like
<div class="clm1">Some content</div>
<div class="clm2">Some content</div>
<div class="clm3">Some content</div>
tried googling but all were made or css3 . I need a perfect 3 column in basic css. Please help
update
Perfect in the sense, no huge coding required but supported by all browsers and easily modifiable
Wrap all three in a parent element (in my example a
<div>). Give all three<div>elements afloat:left;CSS property and a non-autowidthproperty. Then use the Faux Columns trick to give them background colors.In the example I’ve taken the liberty of changing your
classattributes toidattributes as they didn’t feel appropriate for aclassattribute.