Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/10/2010, 02:02
Avatar de miros84
miros84
 
Fecha de Ingreso: diciembre-2008
Mensajes: 351
Antigüedad: 15 años, 4 meses
Puntos: 4
Como quitar el CSS del head?

Hola, tengo el siguiente codigo
Código:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
#Layer1 {
    position:relative;
    width:auto;
    height:auto;
    float:left;
    top:10px;
    padding:5px;
}
#Layer2 {
    position:relative;
    width:auto;
    height:auto;
    float:left;
    top:10px;
    padding:5px;
}
-->
</style>
</head>

<body>
<div id="Layer1">
  <p>ggggggggggg gggggg</p>
  <p>45t4</p>
  <p>45h54h</p>
  <p>h54h4h</p>
</div>
<div id="Layer2">
  <p>87tg87fr87 gtf87g87 g78gt 87t87f 8u7giug 87t87tg 87g8ug 8u</p>
  <p>h45h</p>
  <p>h45h54hg5</p>
</div>
Como lo quiero meter en un articulo en joomla, alli no tengo acceso en head, sino solo en body, por eso quiero poner el css en cada div.
Se que se hace con style, pero he probado varias formas y no me sale como:

Código:
<div style="position:relative";width:auto;>
Como veis quiero mencionar 2,3 style en un div. Como se hace?