ciao ho fatto questo sito, www.hotelstelladellaversilia.com
su crome il menu lo vedo bene, mentre su firefox, mi rimane sul bordo della testata (5px piu in basso all'incirca).
Come posso fare?![]()
ciao ho fatto questo sito, www.hotelstelladellaversilia.com
su crome il menu lo vedo bene, mentre su firefox, mi rimane sul bordo della testata (5px piu in basso all'incirca).
Come posso fare?![]()
Io non vedo differenze tra chrome e firefox...
Ciao io non vedo grandi differenza tra i due browser, l'unica cosa che ho notato è la gestione differente del padding, infatti in chrome il testo è posizionato di 1-2px più sopra.
Ti riferisci al testo del menu o abbiamo capito male?
Ho notato che hai il padding settato in em, hai provato ad usare px?
ho provato a mettere i px, ma il risultato non cambia, ho notato anche che la scritta "prenota on line" nel box a destra presenta lo stesso difetto .
Potresti postare il codice del menu? Un altra cosa, usi un div contenitore all'inizio del sito ?
index.php
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hotel Stella della Versilia</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href ="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="jquery/themes/base/jquery.ui.all.css">
<link rel="stylesheet" href="css/prettyPhoto.css" type="text/css" media="screen" title="prettyPhoto main stylesheet" charset="utf-8" />
<script src="jquery/jquery-1.9.0.js"></script>
<script src="jquery/ui/jquery.ui.core.js"></script>
<script src="jquery/ui/jquery.ui.widget.js"></script>
<script src="jquery/ui/jquery.ui.datepicker.js"></script>
<script src="jquery.maximage.js" type="text/javascript" charset="utf-8"></script>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script src="jquery/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto({
});
});
</script>
<script type="text/javascript">
$(document.body).ready(function () {
if ($("#testo").is(":hidden")) {
$("#testo").slideDown(4000);
}
});
$(function() {
$( "#from" ).datepicker({
defaultDate: "+1w",
changeMonth: true,
numberOfMonths: 3,
onClose: function( selectedDate ) {
$( "#to" ).datepicker( "option", "minDate", selectedDate );
}
});
$( "#to" ).datepicker({
defaultDate: "+1w",
changeMonth: true,
numberOfMonths: 3,
onClose: function( selectedDate ) {
$( "#from" ).datepicker( "option", "maxDate", selectedDate );
}
});
});
$(function(){
jQuery('img.slidemaximage').maxImage({
isBackground: true,
slideShow: true,
slideShowTitle: false,
slideDelay: 4, //secondi
maxFollows: 'height',
overflow:'auto',
resizeMsg: {show: false}
});
});
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>
<body onload="MM_preloadImages('img/ITA_HOV.png','img/ENG_HOV.png','img/PRENOTA_HOV.png')">
[img]loading.gif[/img]
[img]bghome/1.jpg[/img]
[img]bghome/2.jpg[/img]
[img]bghome/3.jpg[/img]
[img]bghome/4.jpg[/img]
[img]bghome/5.jpg[/img]
[img]bghome/6.jpg[/img]
[img]bghome/7.jpg[/img]
[img]bghome/8.jpg[/img]
<div class="Testata"></div>
<div class="Body">
<div class="Logo">[img]img/LOGO_TESTA.png[/img]</div>
<div id="testo" class="camera">
<div id="testocamera">
<div id="titolocamera">Nuova Apertura 2013</div>
Weekend in Versilia![/b]
Cena presso il ristorante l'Olivo composta da quattro portate, caffè, bevande escluse.
Menù[/b]
Antipasti[/b]
Tartare di salmone in salsa all'arancia
Tortino di gamberi carciofi e patate
Involtini di carne salada e trevisano
Primi[/b]
Gnocchetti al radicchio con salsa alle noci e gorgonzola
Lasagnette al forno ai frutti di mare
Spaghetti al nero con calamaretti e pomodorini
Secondi[/b]
Trancetti di baccalà con pere e lardo
Lonza al sale affumicato con salsa al vino e miele
Tagliata di tonno al sesamo e vellutata di ceci
Dolci[/b]
Torta doppio cioccolato e peperoncino
Millefoglie di mele croccanti
Euro 30,00 cad.[/b]
Cena + Camera Classic Euro 100,00 (1 persona)
Cena + Camera Classic Euro 130,00 (2 persone)
Notti successive in BB, Euro 100,00 a camera.
Cena + Camera Comfort Euro 150,00 (1 persona)
Cena + Camera Comfort Euro 180,00 (2 persone)
Notti successive in BB, Euro 150,00 a camera.
</div>
<div>
[img]img/PIE_BOX_TESTO.png[/img]
</div>
</div>
<div id="navigationa">
<?
include("menu.html");
?>
</div>
<div id="flag">
[img]img/ITA.png[/img]
[img]img/ENG.png[/img]
</div>
<div class="Booking">
<?
include("booking.html");
?>
</div>
<div class="promo">
<p id="imgpromo">[img]img/PROMO1.png[/img]
<p id="testopromo"><strong style="font-size:12px">Hotel
[/b]Nella regione toscana, in località Ronchi a 200 mt dal mare immerso nel verde di una pineta nasce il nuovo prestigioso hotel “Stella della Versilia”...
</div>
<div class="promobis">
<p id="imgpromo">[img]img/PROMO2.png[/img]
<p id="testopromo"><strong style="font-size:12px">Nuova Apertura 2013
[/b]Weekend in Versilia![/b]
Cena presso il ristorante l'Olivo composta da quattro portate, caffè, bevande escluse.
</div>
<div class="Footer">
<div class="navfoot">
<?
include("menufoot.html");
?>
</div>
<div class="menufooterstr">
</div>
<div class="menufooter">Italiano[img]img/PIE_LOGO.png[/img]</div>
</div>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body></html>
menu.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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<ul id="MenuBar1" class="MenuBarHorizontal">[*]HOTEL [*]SERVIZI[*]CAMERE
<ul class="MenuBarItemSubmenu" id="subbox" name="subbox">
<li id="sub">ETOILE SUITE
<li id="sub">PORTORO SUITE
<li id="sub">MICHELANGELO SUITE
<li id="sub">JUNIOR SUITE
<li id="sub">COMFORT ROOM
<li id="sub" >CLASSIC ROOM[/list]
[*]RISTORANTE [*]SALAMEETING[*]SPIAGGIA[*]COME RAGGIUNGERCI[*]CONTATTI[*]PRENOTAZIONI[/list]
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
</html>