I'm wondering how can I use <DIV> to mimic a <TABLE>.
In a bare <TABLE> without a width attribute, the width of the table get
dynamically expanded according to the content. However, <DIV> doesn't have
the same behavior.
In the CSS of the DIV tag, I have: background: #FF0000; to see the area
covered by <DIV>. It appears that <DIV> covers the entire row even if width
is set to "auto" in CSS (auto = 100%?).
I can put a "float: left;" with "width:auto;" and the width of DIV does
become dynamically expanded. However, the content below the DIV tag will now
attach to the right side of the DIV. How do I put a row break there?
Thanks in advance,