> ><div class="longtext">
> ><p class="shorttext">Short Short</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).

How could that be illegal? It is a DIV with two Paragraphs... The
second closing </p> is a typo, no nesting, sorry about that.
Using spans and making them  behave like paragraphs would be
semantically  wrong, nothing the police would nick you for, but still
why not use what the specs gave us?

-- 
Chris Heilmann 
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/  
Binaries: http://www.onlinetools.org/
______________________________________________________________________
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