Christian Heilmann wrote:

what is wrong with
<div class="longtext">
<p class="shorttext">Short Short</p>
</p>
<p>Long  Long Long  Long Long  Long Long  Long Long  Long Long  Long
Long  Long Long  Long Long  Long Long  Long Long  Long Long  Long Long
Long Long  Long </p>
</div>

and p.shorttext{ float:left;width:8em;}

Tables for non-tabular data is hard enough to take in for some visitors, no need to confuse them even further.


I believe it's illegal to nest p elements like that in HTML. Try using span (note that a floated element automatically becomes generates a block box, so you don't have to add display: block; though you can if you want).

--
http://www.mozilla.org/products/firefox/ - Get Firefox!
http://www.mozilla.org/products/thunderbird/ - Reclaim Your Inbox!

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to