Ciao,
se andate su questo sito c'è un piccolissimo problemino che però non riesco proprio a risolvere:
http://localhost/monoliticofisso/
Il problema si presenta sia con firefox sia con explorer anche se con quest'ultimo appare nettamente più evidente.
Con firefox il bordo sinistro del div content è appena appena lievemente spostato verso sinistra
Con explorer invece il bordo sinistro del div content è spostato verso sinistra mentre quello destro verso destra non facendoli combaciare con i bordi dell'header e del footer.
Ho provato a modificarli ma nada...se lo sistemo per explorer modificando la larghezza peggiora per firefox e viceversa...chiedo a voi una manina.
Il codice HTML è:
Il codice CSS è:codice:<!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" xml:lang="it" lang="it"> <head> <title>Andrea Nobili Fotografo</title> <meta name="title" content="Andrea Nobili Fotografo" /> <meta name="description" content="Fotografo di Roma. Appassionato di fotografia naturalistica e subacquea. Studente di informatica e webmaster. Realizzazione siti web accessibili e portali web" /> <meta name="keywords" content="Fotografia, fotografia subacquea, fotografia naturalistica, fotografia notturna, fotografia architettura, webmaster, informatica, realizzazione siti web, portali web, portali php, database" /> <meta name="robots" content="index, follow" /> <meta name="author" content="Andrea Nobili" /> <meta name="generator" content="Hand Coded" /> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <link href="default01f.css" rel="stylesheet" type="text/css" title="default" /> </head> <body> <div id="header"> <h1>Andrea Nobili Fotografo</h1> </div> <div id="menu"> <ul> [*]Home [*]About Me [*]Portfolio [*]Contact [*]Links [/list] </div> <div id="content"> <h1>Pagina in costruzione</h1> <h2>1.Presentazione sito:</h2> Benvenuti nel mio sito web personale. Questo sito vuole essere principalmente una vetrina online delle mie realizzazioni fotografiche. Quì sotto troverete le informazioni e le news che di volta in volta andrò ad inserire quando saranno presentate nuove gallerie, fotografie o informazioni che reputo importanti circa eventi fotografici di varia natura</p> <h2>2.News 1:</h2> In costruzione</p> <h2>3.News 2:</h2> In costruzione</p> </div> <div id="footer">This Page Is Valid XHTML 1.0 Transitional and Valid CSS v.2</div> </body> </html>
Graziecodice:body{ margin: 0; padding: 0; margin-bottom: 0.95em; font-family: arial, helvetica, verdana, tahoma, sans-serif; font-size: 80%; color: #000; background-color: #fff; line-height: 180%; } #header{ margin: 0 auto; width: 760px; height: 283px; border: 1px solid #000; border-top: 1px; border-bottom: 1px; background-image: url("img/sfondo.jpg"); background-repeat: no-repeat; background-position: right bottom; background-color: #8a9bac; color: #000; } #header h1{ margin: 0; font: normal 280% Georgia, "Times New Roman", Times, serif; color: #000; background-color: #a9c2d8; padding-left: 0.6em; padding-top: 0.1em; } #menu{ margin: 0 auto; width: 760px; background: #41545F; border-right: 1px solid #000; border-left: 1px solid #000; border-bottom: 1px solid #000; color: #fff; } #gallery{ margin: 0 auto; width: 760px; border-right: 1px solid #000; border-left: 1px solid #000; border-bottom: 1px solid #000; color: #000; background-color: #a9c2d8; } #gallery a:link{ color: #000; font-size: medium; font-weight: bolder; } #menu ul{ margin: 0; padding-left: 0; list-style: none; overflow:hidden; height:auto; } #menu li{ font-size: 1.1em; display: inline; margin: 0; padding: 0; } #menu a:link, #menu a:visited{ float: left; background: #41545F; color: #fff; margin: 0em; padding: 0.3em 1.5em 0.3em 1.5em; text-decoration: none; border-right: 1px solid #000; } #menu a:hover, #menu a:focus, #menu a:active{ color: #B2CEDC; background: #05181E; } #content{ margin: 0 auto; width: 740px; padding: 1.25em 0.8em; border: 1px solid #000; border-top: 0; border-bottom: 0; background: #fff; color: #000; overflow: auto; } .categoria{ float: left; margin-right: 30px; } #descrizione{ text-align: justify; } #content p { font-size: 100%; line-height: 1.8em; padding-left: 1em; padding-right: 1em; } #content h1 { padding-bottom: 0.3em; padding-top: 0.3em; font: normal 180% Georgia, "Times New Roman", Times, serif; color: #05181E; background-color: #FFFFFF; } #content h2{ background: #fff; color: #940D1E; padding-bottom: 0.3em; font: normal 150% Georgia, "Times New Roman", Times, serif; border-bottom: 1px dotted #FF9006; clear: left; } #content h2 p{ margin: 0 auto; width: 760px; } #content a:link, #content a:visited { font-size: 95%; font-weight: normal; color: #41545F; background-color: #fff; text-decoration: underline; } #content a:hover { color: #fff; background-color: #41545F; text-decoration: none; } #footer{ margin: 0 auto; width: 740px; background: #41545F; text-align: center; color: #fff; border: 1px solid #000; border-top: 1px; border-bottom: 1px; font-family: helvetica, arial, verdana, tahoma, sans-serif; padding: 0.8em 0.8em; } #footer a:link, #footer a:visited { color: #fff; background-color: #41545F; text-decoration: underline; } #footer a:hover { text-decoration: none; color: #41545F; background-color: #fff; } .form{ font: bold 12px Arial, Helvetica, sans-serif; color: #000000; background: #CCCCCC; border: 1px solid #000000; } .pulsante{ font: bold 12px Arial, Helvetica, sans-serif; color: #000000; background: #CCCCCC; text-align: center; border: 1px solid #000000; }
Andrea

Rispondi quotando