Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/02/2018, 07:57
mblascog
 
Fecha de Ingreso: enero-2002
Ubicación: Sabadell
Mensajes: 565
Antigüedad: 22 años, 3 meses
Puntos: 4
No puedo cambiar la fuente de un div

Buenas,
Quiero asignar la fuente cGothics de 12px a todo el div, pero no hay manera, alguna cosa lo impide o tengo escrito mal.
Alguien sabe ver el problema? Gracias

Código HTML:
Ver original
  1. <div id="divFacturado" style="font:12px cGothics;">
  2.     <div style="width:25%;float:left;background-color:#CCCCCC;">
  3.         <div id="titolProveedores" style="float:left;margin-bottom:10px;margin-top:10px;width:100%;text-align:center;font:12px cGothics;">
  4.             PROVEEDOR <input type="text" style="text-transform:uppercase;" id="proveidor" onkeyup="posicionSelect(this.value)">
  5.         </div>
  6.         <div id="proveidors" style="float: left; width: 100%; text-align: center;">
  7.         <select style="width:90%;font:12px cGothics;" name="selectProveedor" id="selectProveidor" size="16")">
  8.             <option value="73">PROV1</option>
  9.             <option value="28">PROV2</option>
  10.             <option value="43">PROV3</option>
  11.         </select>
  12.     </div>
  13.     </div>
  14.     <div id="detallFacturat" style="display: block;width: 73%;float: right;font: 12px cGothics;background-color: rgb(204, 204, 204);">
  15.         <div id="titolFactures" style="margin-top:10px;height:10px;">
  16.             <div id="checks" style="width:60%;float:left;font:12px cGothics;">
  17.                 <div style="width:33%;float:left;font:12px cGothics;margin-left:1%;"><input type="radio" name="facturat" value="1" checked="">Facturar</div>
  18.                 <div style="width:33%;float:left;font:12px cGothics;"><input type="radio" name="facturat" value="2">No facturado</div>
  19.                 <div style="width:32%;float:left;font:12px cGothics;"><input type="radio" name="facturat" value="3">Todo</div>
  20.             </div>
  21.             <div style="width:40%;float:right;text-align:center;">
  22.                 <div style="width:33%;float:left;background:#FBC151;">AA</div>
  23.         <div style="width:34%;float:left;background:#B1F39C;">BB</div>
  24.         <div style="width:33%;float:left;background:#9CBBF3;">CC</div>
  25.             </div>
  26.         </div>
  27.         <div id="detallFactures" style="margin-top:18px;">
  28.         <table style="width:95%;margin:auto;">
  29.             <tr style="background:#B1F39C">
  30.                 <td colspan="6">
  31.                     <div style="width:180px;float:left;border-right:solid 2px white;">
  32.                         <span style="font-weight:bold;">PEDIDO</span><span>7075-1953</span>
  33.                     </div>
  34.                 </td>
  35.             </tr>
  36.             <tr><td style="padding-left:20px;width:160px;">2060410010006</td>
  37.                 <td style="text-align:right;width:30px;">2</td>
  38.                 <td style="text-align:right;">33.00</td>
  39.                 <td style="text-align:right;">66.00</td>
  40.                 <td><input type="date" id="data7075-1953-0" value="0000-00-00'</td"></td>
  41.                 <td><input type="checkbox" id="check7075-1953-0">
  42.                     <input type="hidden" value="3164</td"></td>
  43.             </tr>
  44.         </table>
  45.     </div>
  46. </div>
  47.  
  48.  
  49. </body>
  50. </html>
__________________
Qué fácil cuando lo sabes y qué difícil cuando no