ellers skal du lavemail om til en html mail, så kan du bruge div html tags. et lille eks på en html mail kan du se her
$stuff_to_send = "";
//Mail headers
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "To: Administrator på dvdarkiv <tlarsen@pc-dk.dk>\r\n";
$headers .= "From: <tlarsen@pc-dk.dk>\r\n";
#$headers .= "Cc: birthdayarchive@example.com\r\n";
#$headers .= "Bcc: birthdaycheck@example.com\r\n";
$stuff_to_send = "<center><table border='0' width='170' style='font-family:verdana; font-size:10px; font-weight:bold; border-size:10px;' bgcolor='lightgreen' width='100%'>
<tr>
<td colspan='3' align='center'><img src='
http://www.pc-dk.dk/dvd1/images/logo_bar.jpg'></td> </tr>
<tr>
<td colspan='3' align='center'><b>Bestilling</b></td>
</tr>
<tr>
<td colspan='3' align='center'>$_SESSION[username] har bestilt følgende..</td>
</tr>";
while($order_row = mysql_fetch_array($order_res)) {
$stuff_to_send .= "
<tr>
<td>Titel: " .$order_row['item']. "</td>
<td>Kategori: $order_row[head_cat] </td>
<td>Antal: " .$order_row['antal']."</td>
<tr>";
}
$stuff_to_send .= "</table></center>";
mail("tlarsen@pc-dk.dk", "Dvd bestilling", $stuff_to_send, $headers);