It sounds like you are trying to work backwards. Start with a regular CSS style sheet. Then use PHP to include the code that refers to the styles in your style sheet. For example, you'd put this in your page head:
<link href="../default.css" rel="stylesheet" type="text/css">
That would link up the styles for your page, i.e.:
body {
margin-top: 5px;
margin-left: 5%;
margin-right: 5%;
padding: 0;
min-width: 900px;
min-height: 700px;
background-color: #CCCCCC;
}
table.list {
width: 95%;
max-width: 590px;
border-collapse: collapse;
}
table.list td {
margin: 0;
padding: 0;
font: 8pt Verdana, Arial, Helvetica, sans-serif;
text-decoration: none;
border-bottom: 1px dotted #BA2729;
vertical-align: bottom;
}
img.icon {
border: none;
width: 60px;
height: 30px;
}
Then you'd link your code to your style:
echo "<table class='list'><tr><td><img class='icon' src='".$values['picture']."'></td>";
// etc...
echo "</tr></table>";
You'll also find that the <font> tag is deprecated. I think the preferred code for an inline font change is something like:
<span style="font: bold 10pt Arial, sans">some words...</span>