or else you must specify correct DTD....
Try the code below.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html><head><title>A TITLE HERE</title></head><body><style>
/* CSS Document */
background-color:#CCCCCC; border: #999999 1px solid;}
img {border:0}
.div_logo {padding:0; width:207px; float:right;}
.div_logo2 {margin:30px auto 0 286px; padding:0; width:207px; border:#333333 1px solid; }
.div_titol_i_text { margin:0; padding:7px; font-family:Verdana, Arial, Helvetica, sans-serif }
.div_programa {margin:0 auto 0 auto; padding:0; width:650px; }
.div_inscripcions {margin:0 auto 0 auto; padding:0; width:550px; }
h1 {text-align:center; }
h2 {text-align:center; color:#000066}
.separa { margin:150px 0 250px 0; }
.missatge {padding:10px 20px 10px 20px; border:#007700 3px solid; background-color:#BBFFFF; width:500px; margin:0 auto 0 auto; }
.error {padding:10px 20px 10px 20px; border:#FF0000 3px solid; background-color:#FFFFBB; width:500px; margin:0 auto 0 auto; }
.div_taula {margin:0 auto 0 auto; width:700px; }
.lletra_petita {font-size:smaller }
.mapa {margin: 0 auto 0 auto; width:425px}
</style>
<div class="div_titol_i_text">
<h2>Incidències de Guàrdia </h2>
<h3 align="center">(Comunicat del Cap de Guàrdia)</h3>
<p align="center"><b>Dr. Plana Gavaldà.</b></p>
<p align="center"><strong>Parte del 16/07/09 a les 16:00 fins el 17/07/2009 a les 07:59<!-- a les 00:00 --></strong></p>
<div class="apartat" style="[estil_resum]">
<h3>Resum</h3>
<p><table style="color:#000077">
<tr>
<td align="right">Altes d'urgències:</td>
<td align="left">72</td>
</tr>
<tr>
<td align="right">Han marxat d'urgències:</td>
<td align="left">0</td>
</tr>
<tr>
<td align="right">Èxitus a la casa:</td>
<td align="left">0</td>
</tr>
<tr>
<td align="right">Ingressos urgents:</td>
<td align="left">1</td>
</tr>
<tr>
<td align="right">Ingressos programats:</td>
<td align="left">0</td>
</tr>
<tr>
<td align="right">Derivacions:</td>
<td align="left">0</td>
</tr>
</table><br />PROVA per veure el tema dels accents.</p>
</div>
<div class="apartat" style="display:none">
<h3>Derivacions</h3>
<p>[derivacions]</p>
</div>
<div class="apartat" style="display:none">
<h3>Problemes Assistencials</h3>
<p>[probl_assistencials]</p>
</div>
<div class="apartat" style="display:none">
<h3>Èxitus</h3>
<p>[exitus]</p>
</div>
<div class="apartat" style="display:none">
<h3>Relacions Usuaris</h3>
<p>[usuaris]</p>
</div>
<div class="apartat" style="display:none">
<h3>Informació als mitjans de comunicació</h3>
<p>[mitjans_com]</p>
</div>
<div class="apartat" style="display:none">
<h3>Sortida personal sanitari</h3>
<p>[sortida]</p>
</div>
<div class="apartat" style="display:none">
<h3>Mesures aplicades per manca de llits</h3>
<p>[mesures]</p>
</div>
<div class="apartat" style="[estil_hospitalitzacio]">
<h3>Hospitalització</h3>
<p><h4 style="color:#000077">Ingressos Urgents</h4><ul style="color:#000077"><li>DELGADO CAÑAMERO, FRANCISCO (30514): Home de 67 anys. Ubicació: (1007 Medicina Interna)</li></ul></p>
</div>
<!--
<center>
<table>
<tr>
<td>Derivacions:</td>
<td>[derivacions]</td>
</tr>
<tr>
<td>Problemes Assistencials:</td>
<td>[probl_assistencials]</td>
</tr>
<tr>
<td>Èxitus:</td>
<td>[exitus]</td>
</tr>
<tr>
<td>Relacions Usuaris:</td>
<td>[usuaris]</td>
</tr>
<tr>
<td>Informació als mitjans de comunicació:</td>
<td>[mitjans_com]</td>
</tr>
<tr>
<td>Sortida personal sanitari:</td>
<td>[sortida]</td>
</tr>
<tr>
<td>Mesures aplicades per manca de llits:</td>
<td>[mesures]</td>
</tr>
</table>
</center>
-->
</div>
</body></html>
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131:





by: sajayj2009Posted on 2009-07-20 at 04:27:44ID: 24893994
I think you must specify the correct media type for CSS.
Seperate CSS from your page to a sheet.css
And refer the sheet.css to your page with correct media you are supposed to aim.
Like in computer, almost every css will render. So we must specify media type for css files while we are using for mobile, TV ..........
<link href="sheet.css" rel="stylesheet" type="text/css" media ="all">