Ver Mensaje Individual
  #1 (permalink)  
Antiguo 19/09/2015, 17:33
diegoguerrero
 
Fecha de Ingreso: diciembre-2014
Ubicación: Madrid
Mensajes: 274
Antigüedad: 9 años, 4 meses
Puntos: 5
¿Qué fallo tan tonto debo tener?

No me funciona el css. Por favor, ayuda porque me estoy liando bastante. Gracias

index.html
Código HTML:
Ver original
  1.     <head>
  2.         <link href="styles/styles.css" rel="stylesheet" type="text/css"/>
  3.     </head>
  4.     <body>
  5.         <div id="2cols50">2cols50</div>
  6.     </body>
  7. </html>
styles/styles.css
Código CSS:
Ver original
  1. @charset "UTF-8";
  2. /* GENÉRICOS */
  3. body{
  4.     margin: 5px auto;
  5. }
  6. a{
  7.     text-decoration: none;
  8. }
  9. /* RESPONSIVE */
  10.     /* COLUMNAS - PROPIEDADES GENERALES */
  11.     /* COLUMNAS - PROPORCIONALES AL BODY */
  12.         #2cols50{
  13.             padding-top: 15px;
  14.             padding-bottom: 15px;
  15.             background-color: rgba(86, 61, 124, 0.15);
  16.             border: 1px solid rgba(86, 61, 124, 0.2);
  17.             width: 50%;
  18.             position: relative;
  19.             min-height: 1px;
  20.             padding-right: 1.5em;
  21.             padding-left: 1.5em;
  22.         }