On 10/12/11 12:58 PM, Lapcewich, Dennis wrote:

Is it a best practice to wrap content in a table cell using <p> tags?

I'd say no, never. Each cell should contain exactly what's contained
in the corresponding DB field. If it's text, it might well *contain*
paragraph tags, or not. If it's a string, it *might* be wrapped in a
span, though probably not.

Regardless, there's no reason to include arbitrary formatting that's
irrelevant/orthogonal to the datatypes.

And if the data isn't coming from a database, either it shouldn't be
in a table or you should be writing the markup as if it were. IMO.

YMMV :-)
--
Hassan Schroeder ----------------------------- has...@webtuitive.com
webtuitive design ===  (+1) 408-621-3445   === http://webtuitive.com
http://about.me/hassanschroeder
twitter: @hassan
                          dream.  code.


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to