>> I thought you could only use that nomenclature <p /> with 
>> tags that don't have a closing tag, like <br />.
>
>No, that's an acceptable way to close any element that has no content.

According to the spec empty P elements are "discouraged" (which basically says 
they're legal).  At the same time User Agents are specifically instructed to 
completely ignore them.

So I would think that this is a FireFox bug.  Reading the spec strictly putting 
a line-break in the document (which is a common user-agent reaction) seems 
wrong.

("Discouraged" is a good word here: there are legitimate reasons to use empty 
block-level elements.  You might create empty elements specifically to add 
content to them later via DHTML for example.)

In this case tho' what's your DOCTYPE?  Both FireFox and IE change their 
parsing rules based on DOCTYPE - using a transitional DOCTYPE might result in 
more "wierd crap" (that's a technical term) than using a strict one.

Jim Davis

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276169
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to