Ver Mensaje Individual
  #5 (permalink)  
Antiguo 04/03/2011, 09:27
rufus
 
Fecha de Ingreso: mayo-2009
Ubicación: Andalucia
Mensajes: 650
Antigüedad: 14 años, 11 meses
Puntos: 1
Respuesta: problema para maquetar menu

header.php
Código HTML:
<!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">
<head>
<link href="styles/index.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Mudanzas avellan</title>
<style type="text/css">
<!--
body {
	background-color:#00BFBF;
}

-->
</style>
</head>

<body>
<div id="contenedor">
<div id="header">
<img src="images/cabeceranueva.png"/></div>
<div id="menu">
<ul>
	<li><a href="index.php">Quiénes somos</a></li>
    <li><a href="index.php">Servicios</a></li>
    <li><a href="contacto.php">Contacto</a></li></ul>
</div>
<div id="cuerpo"> 
css:

Código:
#contenedor { width:940px; height:auto;margin:0 auto; }
#header { width:940px; height:200px; background-color:#FFF;}
#menu{width:940px; height:41px; float:left;background-image:url(../images/barramenu.png); background-repeat:no-repeat;background-position:center; background-color:#FFF;}

#menu ul li { display:inline;  font-weight:bold; padding-left:18px; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; }

#menu a { color:#FFF; text-decoration:none}

#menu ul li a:hover{ color:#03F; background-image:url(../images/boton_claro.png); background-repeat:no-repeat;}