To speed up developing i am using a lot of inline code vs stylesheets.
Mainly using the style= attribute in divs, spans, and p.
Is this the best way to do 3 column inline? or is there an easier way. I nested the divs.
Mainly using the style= attribute in divs, spans, and p.
Is this the best way to do 3 column inline? or is there an easier way. I nested the divs.
Code:
<!-- container -->
<div style="width: 800px; border: 1px solid #ccc;">
<div style="background-color:#009999; float: left; width:550px;">
column 1
</div>
<div style="background-color: #CCCCCC; width: 250px; float: right;">
<div style="float: left; width: 100px;">
column 2
</div>
<div style="background-color:#66FFCC; width: 150px; float:right;">
column 3
</div>
</div>
</div>
<!-- containter end -->
Comment