mmmmm. supuse que era problema de ese div. pero pongo todo el código.
no logro comprender donde está el problema.
Código HTML:
Ver original<!DOCTYPE HTML>
<meta http-equiv="content-type" content="text/html" /> <meta name="author" content="" /> <link rel="stylesheet" href="../responsive/estiloinicioretrato.css"/> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700' rel='stylesheet' type='text/css'> <link rel="stylesheet" type="text/css" href="../responsive/estilomenu2.css" media="all" /> <script src="blank.gif" data-src="../responsive/js/jquery-1.7.2.min.js"></script>
.text {font-size:120%; font-family:verdana; color:black; text-decoration:none}
.text:hover {font-size:120%; font-family:verdana; color:#BFA62B; text-decoration:none}
<!-- jQuery lib from google server ===================== -->
<script src="../PruebaMenuResponsive/js/jquery-1.7.2.min.js"></script>
<!-- javaScript -->
<!-- // building select nav for mobile width only -->
$(function(){
// building select menu
$('
<select />').appendTo('nav');
// building an option for select menu
'selected': 'selected',
'value' : '',
'text': 'Contenido...'
}).appendTo('nav select');
$('nav ul li a').each(function(){
var target = $(this);
'value' : target.attr('href'),
'text': target.text()
}).appendTo('nav select');
});
// on clicking on link
$('nav select').on('change',function(){
window.location = $(this).find('option:selected').val();
});
});
// show and hide sub menu
$(function(){
$('nav ul li').hover(
function () {
//show its submenu
$('ul', this).slideDown(150);
},
function () {
//hide its submenu
$('ul', this).slideUp(150);
}
);
});
//end
<!-- end -->
<div align="center"><img src="../responsive/images/vicente.jpg" align="center"/></div>
<!-- SECCION MENU
<div id="cuadromenu">
<div id="menu">
<a class=text href="../responsive/index.html">Inicio</a> |
<a class=text href="biografia.html">Biografía</a> |
<a class=text href="libros.html">Libros</a> |
<a class=text href="resenas.html">Reseñas</a> |
<a class=text href="audioyvideo.html">Audios y Videos</a> |
</div>
</div>
<!-- FIN SECCION MENU -->
<!--nav-->
<li class="current"><a href="../PruebaMenuResponsive/index2.html">Inicio
</a></li> <li><a href="../PruebaMenuResponsive/index2.html">Libros
<span class="arrow"></span></a> <ul style="display: none;" class="sub_menu"> <li class="arrow_top"></li> <li><a href="../PruebaMenuResponsive/index2.html">Infantil
</a></li> <li><a href="../PruebaMenuResponsive/index2.html">Poesía
</a></li> <li><a href="../PruebaMenuResponsive/index2.html">Narrativa
</a></li> <li><a href="../PruebaMenuResponsive/index2.html">Reseñas
</a></li> <li><a href="../PruebaMenuResponsive/index2.html">Textos
</a></li> <li><a href="../PruebaMenuResponsive/index2.html">Contacto
</a></li>
Código CSS:
Ver original* {
margin: 0;
padding: 0;
}
body {
background: gray;
font-family: Arial;
}
#general {
width: 100%;
max-width: 1000px;
margin: 2% auto;
overflow: hidden;
}
#cabecera {
margin: 1%;
width: 100%;
height: auto;
float: left;
}
#cabecera img {
width: 50%;
height: auto;
}
#cuadromenu {
width: 55%;
height: 50%;
background-color: gray;
padding: 0%;
clear: both;
margin:0 auto;
}
#fdw {
text-align: left;
margin:0 auto;
display: inline-block;
}
#menu {
margin: auto;
text-align: center;
}
#content {
width: 100%;
}
#content img {
width: 30%;
padding: 1%;
}
#contenido {
width: 97%;
padding: 0%;
float: left;
margin-left: auto;
margin-right: auto;
}
#biografia {
width: 90%;
margin-left: auto;
margin-right: auto;
}
#libros {
width: 100%;
padding: 20px;
height: auto;
}
#libros div {
display: inline-block;
width: 20%;
padding: 18px;
}
#libros #otro2 {
display: block;
}
#libros img {
width: 100%;
height: auto;
}
#narrativa {
text-align: center;
font: 200% Arial;
word-wrap: break-word;
white-space: nowrap;
}
@media all and (max-width: 480px) {
#libros div {
display: block;
width: 80%;
padding: 10px;
}
}
Código CSS:
Ver original/* Slider
http://www.freshdesignweb.com/drop-down-responsive-menu-with-css3-and-jquery.html
*/
@import url(http://fonts.googleapis.com/css?family=Gentium+Basic:400,700|Yanone+Kaffeesatz);
/*===== nav style ======*/
#fdw nav select {
display:none; /* this is just for the mobile display */
}
#fdw nav ul {
display:block;
z-index:999999;
}
#fdw nav ul li {
display:inline-block;
padding:50px 3px 30px;
margin-left:30px;
position:relative;
}
#fdw nav ul li a:link, #fdw nav ul li a:visited {
color:#444;
font:normal 20px 'Yanone Kaffeesatz', sans-serif;
text-transform:uppercase;
display:inline-block;
position:relative;
}
#fdw nav ul li a:hover, #fdw nav ul li a:active {
color:#e25d29;
text-decoration:none;
}
#fdw nav ul li span {
position:absolute;
right:-12px;
bottom:6px;
width:7px;
height:8px;
margin:0 0 0 3px;
float:right;
display:block;
background:url('../PruebaMenuResponsive/images/nav_arrow.png') no-repeat left -8px;
font:0/0 a;
}
#fdw nav ul li.current {
border-bottom:2px solid #e25d29;
}
#fdw nav ul li.current a {
color:#e25d29;
cursor: default;
}
#fdw nav ul li.current a span {
background:url('../PruebaMenuResponsive/images/nav_arrow.png') no-repeat left 0;
}
#fdw nav ul li.current ul li a {
cursor:pointer;
}
/*===== sub_menu Style =======*/
#fdw nav ul li ul.sub_menu {
position:absolute;
top:90px;
left:0;
margin:0;
padding:0;
background:#fff;
border:1px solid #ececec;
border-top:5px solid #e25d29;
display:none;
z-index:999999;
-moz-box-shadow: 0px 6px 7px #121012;
-webkit-box-shadow: 0px 6px 7px #121012;
box-shadow: 0px 6px 7px #121012;
}
#fdw nav ul li ul.sub_menu li.arrow_top {
position:absolute;
top:-12px;
left:12px;
width:13px;
height:8px;
display:block;
border:none;
background:url('../PruebaMenuResponsive/images/arrow_top.png') no-repeat left top;
}
#fdw nav ul li ul.sub_menu li {
float:none;
margin:0;
padding:0;
border-bottom:1px solid #ececec;
}
#fdw nav ul li ul.sub_menu li a {
white-space: nowrap;
width: 150px;
padding:12px;
font:13px Arial, tahoma, sans-serif;
text-transform:capitalize;
color:#777;
}
#fdw nav ul li ul.sub_menu li a:hover {
background:#f9f9f9;
color:#333;
}
#fdw nav ul li ul.sub_menu li a.subCurrent {
color:#e25d29;
cursor:default;
}
#fdw nav ul li ul.sub_menu li a.subCurrent:hover {
background:none;
}
/*===================== end Header style ======================*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
/* nav */
#fdw nav ul li{
margin-left:12px;
}
}
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
/* nav menu ul & select */
#fdw nav ul {
display:none;
}
#fdw nav select {
width:100%;
display:block;
margin-bottom:30px;
cursor:pointer;
padding:6px;
background:#f9f9f9;
border:1px solid #e3e3e3;
color:#777;
}
}