I don't remember "who", but it seems like a reasonable approach when the data we are talking about would look like this...
TO: Suzy Q
DATE: Saturday, May 19, 2012 Saturday, May 19, 2012
RE: My Start-up
I decided to start my own business because I want
to be my own boss!
My boss is a jerk and never appreciates anything
that I do for him, so why put up with the abuse?!
He takes me for granted and doesn't appreciate
all of my talents.
Here is a larger snippet of my code... (Go light on the echo comments, as I know you don't like my style. Besides, this is my first swing at things...)
<dd>" . htmlentities($msgDate, ENT_QUOTES)
. " "
. htmlentities($msgDate, ENT_QUOTES)
<dd><b>" . htmlentities($subject, ENT_QUOTES) . "</b></dd>\
// Build Message.
$messageEnt = (isset($body) ? htmlentities($body, ENT_QUOTES) : '');
echo " <dt></dt>
<dd id='msgBody>'" . nl2p($messageEnt, TRUE) . "</dd>
Here are the related styles...
padding: 0 0 0.5em 0;
border: 10px solid #AAA;
(There is obviously A LOT more code, but I can't see how it would apply here...)
The only thing I can think of, is that maybe you cannot style a <dd> like I am trying? (I know I go crazy trying to remember what you can and cannot style on Table elements...)
P.S. I know the <DL> code I have I stole from somewhere else in my code-base, and it came from Mr. Paul O' Not sure what I used it for before, but it was probably something pretty close to this context...