Author: onecurlyfry | Posted on: 11/19/2009 5:10:51 PM | Views : 252

I feel like I'm going to smack myself in the forehead when I see the answer to this, but I've been working in things I've never worked in before (web services, various AJAX tk items, javascript), so I think my brain is on Information Overload.

I am using tableless layout via CSS. I normally would go:
<div class="col1">text</div> <div class="col2">text</div> <div style="clear:both;" /> <div class="col1">Text</div> <div class="col2">Text</div> <div style="clear:both;">

Where col1 & col2 defined widths & float properties (hence the clear). It's how I was tought, and never thought anything of it.

I read an article yesterday that talked about eliminating unnecessary div's by doing the following:
<div class="c ...

Go to the complete details ...