This is something that has always bugged me for the sake of
consistency...
 
If I have a definition list such as:
 
<dl>
    <dt>Term Goes Here</dt>
    <dd>The long definition goes here</dd>
</dl>
 
Then, I have a definition list with two paragraphs such as:
 
<dl>
    <dt>Term Goes Here</dt>
    <dd>
        <p>The long definition goes here</p>
        <p>The second line goes here</p>
    </dd>
</dl>
 
Now, these two lists are not consistent in the use of the <p> tag.  The
first example does not use <p> but the second example does, if only to
break the paragraphs apart.
 
So, how do you handle these cases?  Do you always use a <p> tag even if
there would only be one paragraph within the <dd> tag?
 
Or, do you just keep it brief and not use a <p> tag unless you have more
than one paragraph?
 
If I always use the <p> tag, then I know my CSS styling will be
consistent.  Otherwise, I would need to style both my <dd> and <p> tags
the same to keep the same margins and padding.
 
Thanks


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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

Reply via email to