Ver Mensaje Individual
  #4 (permalink)  
Antiguo 01/05/2008, 11:00
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Re: Div, centrar y magenes

Hola, Sabatore.

No, no daba nada por supuesto; sólo hay que copiar lo que te puse y pegarlo, y debería funcionar.

Prueba a poner esto:

Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="es-es">
<head>
<meta content="text/html; charset=UTF-8"
http-equiv="content-type" />
<title>Salbatore</title>
<style type="text/css">
#uno {background:url(image_line_top.gif); height:37px; text-align:center;}
#dos {margin: 0 auto 0 auto; text-align:right; width:700px; background:url(image_line_top_box.gif); background-repeat:no-repeat; background-position:right;}
span { margin-right: 50px;
}
</style>
</head>
<body>
<div id="uno">
<div id="dos"><span>Mi texto</span></div>
</div>
</body>
</html>
A ver si te funciona. Desgraciadamente no sé cómo son tus imágenes ni cómo podrán afectar al resultado.

Mikel.