<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Spostamento indesiderato del template]]></title><description><![CDATA[<p dir="auto">Salve a tutti, ho realizzato un sito web con css, il problema sta che  quando vado a cambiare pagina, cliccando su un'altra voce di menu, il  template si sposta verso destra di qualche millimetro, infatti ci sono  pagine dove rimane invariato e altre dove avviene questo brutto  postamento indesiderato.<br />
Mi sono accorto che se setto fissa la proprieta heigh (es 450 px) della  classe .content il problema spariche, ma io devo usare la proprietà auto  perchè non posso decidere a priori cosa andro' a mettere nel .content<br />
Come posso ovviare a questo inconveniente?</p>
<p dir="auto">Posto il mio foglio di stile.<br />
Grazie in anticipo.</p>
<p dir="auto">html,body {<br />
font-family: Arial, Helvetica, sans-serif;<br />
text-align:center; /<em>IE</em>/<br />
font-size: 12px;<br />
line-height: 24px;<br />
/<em>background-image: url(../bg_all.png);</em>/<br />
background-color:#F6F6F6;<br />
background-position:top;<br />
background-repeat:no-repeat;<br />
color: <a href="/hashtags/fff">#FFF</a>;<br />
height:auto;<br />
}</p>
<p dir="auto">.container{<br />
/<em>border: 1px solid #047135;</em>/<br />
margin: 0 auto; /<em>IE</em>/<br />
width: 1024px;<br />
height: auto;<br />
}</p>
<p dir="auto"><a href="/hashtags/stage">#stage</a>{<br />
background-image: url(../image/stage.png);<br />
background-repeat: no-repeat;<br />
background-position: center;<br />
width: 1024px;<br />
height: 426px;<br />
margin-top: 20px;<br />
}</p>
<p dir="auto"><a href="/hashtags/stagetesto">#stage_testo</a>{<br />
height:auto;<br />
margin: 0 auto;<br />
margin-top: 20px;<br />
}</p>
<p dir="auto">.stage_testo_class {<br />
font-family: Georgia, "Times New Roman", Times, serif;<br />
text-align: justify;<br />
color:#000;<br />
font-size: medium;<br />
}</p>
<p dir="auto">.content{<br />
width: 1024px;<br />
height: auto;<br />
padding:0;<br />
margin:0;<br />
border:0;</p>
<pre><code>}
</code></pre>
<p dir="auto">td, th {<br />
font-family: Arial, Helvetica, sans-serif;<br />
font-size: 12px;<br />
line-height: 24px;<br />
color: #330000;<br />
}</p>
<p dir="auto">form {<br />
background-color: <a href="/hashtags/cccc99">#CCCC99</a>;<br />
}</p>
<p dir="auto">.title {<br />
font-family: Georgia, "Times New Roman", Times, serif;<br />
font-size: 18px;<br />
line-height: 30px;<br />
background-color: #990000; color: <a href="/hashtags/ffff66">#FFFF66</a>;<br />
}</p>
<p dir="auto">.subtitle {<br />
font-family: Georgia, "Times New Roman", Times, serif;<br />
font-size: 16px;<br />
line-height: 20px;<br />
font-weight: bold;<br />
color: #660000; font-style: oblique;<br />
}</p>
<p dir="auto">.header {<br />
font-family: Georgia, "Times New Roman", Times, serif;<br />
font-size: 24px;<br />
color: <a href="/hashtags/ccc">#CCC</a>;<br />
height: 105px;<br />
}</p>
<p dir="auto"><a href="/hashtags/logo">#logo</a>{<br />
background-image:url(../image/logo.png);<br />
background-repeat:no-repeat;<br />
width:314px;<br />
height:100px;<br />
float:left;<br />
margin-top: 3px;<br />
}</p>
<p dir="auto"><a href="/hashtags/menu">#menu</a>{<br />
font-size: 15px;<br />
margin: 48px 0 0 0;<br />
width: 673px;<br />
float: right;<br />
background-image: url(../image/bg_menu.png);<br />
height: 33px;</p>
<p dir="auto">}<br />
.stanghetta {<br />
color: <a href="/hashtags/fff">#FFF</a>;<br />
background-color: <a href="/hashtags/fff">#FFF</a>;<br />
width: 2px;<br />
height: 33px;<br />
}</p>
<p dir="auto">ul{<br />
margin:0px;</p>
<p dir="auto">}</p>
<p dir="auto">li{<br />
float: Left;<br />
display: Inline;<br />
width: 120px;<br />
text-align:center;<br />
height: 33px;<br />
margin: 0;<br />
padding-top: 3px;<br />
/<em>margin:auto;</em>/</p>
<p dir="auto">}</p>
<p dir="auto">.nav {<br />
font-family: Georgia, "Times New Roman", Times, serif;<br />
font-size: 12px;<br />
font-weight: bold;<br />
border:40px;<br />
}</p>
<p dir="auto">.navLink {<br />
font-family: Arial, Helvetica, sans-serif;<br />
/<em>font-family: Georgia, "Times New Roman", Times, serif;</em>/<br />
font-size: 14px;</p>
<pre><code>}
</code></pre>
<p dir="auto">a {<br />
color:#FFF;<br />
text-decoration:none;<br />
outline:none;<br />
}</p>
<p dir="auto">a:hover {<br />
color:#FFF;<br />
/<em>background-color: <a href="/hashtags/06f">#06F</a>;</em>/<br />
}</p>
<p dir="auto">.sidebar {<br />
font-family: Georgia, "Times New Roman", Times, serif;<br />
font-size: 12px;<br />
line-height: 18px;<br />
padding: 3px;<br />
background-color: <a href="/hashtags/ffff99">#FFFF99</a>;<br />
}</p>
<p dir="auto">.sidebarHeader {<br />
font-family: Georgia, "Times New Roman", Times, serif;<br />
font-size: 14px;<br />
line-height: 18px;<br />
color: <a href="/hashtags/ffff99">#FFFF99</a>;<br />
background-color: #999933;<br />
font-weight: bold;<br />
}</p>
<p dir="auto">.sidebarFooter {<br />
font-family: Georgia, "Times New Roman", Times, serif;<br />
font-size: 12px;<br />
line-height: 18px;<br />
background-color: <a href="/hashtags/ffff99">#FFFF99</a>;<br />
color: #990000;<br />
}</p>
<p dir="auto"><a href="/hashtags/bgfooter">#bg_footer</a>{<br />
width:1024px;<br />
height:60px;<br />
background-image: url(../image/bg_footer.png);<br />
background-repeat: no-repeat;<br />
float: left;</p>
<p dir="auto">}</p>
<p dir="auto">.footer{<br />
font-family: Georgia, "Times New Roman", Times, serif;<br />
font-size: 9px;<br />
font-weight: bold;<br />
text-align: center;<br />
padding-top: 5px;<br />
}</p>
<p dir="auto">.footer a{<br />
color:#000;<br />
}</p>
<p dir="auto">.legal {<br />
font-family: Georgia, "Times New Roman", Times, serif;<br />
font-size: 12pt;<br />
color: #333333;<br />
}</p>
<p dir="auto">.box1 {<br />
/<em>border:thin <a href="/hashtags/ccc">#CCC</a> solid;</em>/<br />
font-size: 30px;</p>
<pre><code>}
</code></pre>
<p dir="auto"><a href="/hashtags/block">#block</a>{<br />
width: 300px;<br />
height: 100px;<br />
float: left;<br />
margin-right: 20px;<br />
margin-left: 20px;<br />
text-align: center;</p>
<p dir="auto">}<br />
<a href="/hashtags/blocker">#blocker</a>{<br />
height: 100px;<br />
width: auto;<br />
margin-left: 15px;<br />
margin-top: 5px;</p>
<p dir="auto">}</p>
<p dir="auto"><a href="/hashtags/inblock">#in_block</a>{<br />
width: auto;<br />
height: auto;<br />
}</p>
<p dir="auto">.promo {<br />
color: #999;<br />
font-size: 16px;<br />
line-height: normal;<br />
text-align: justify;<br />
}</p>
<p dir="auto">.titlebar {<br />
font-family: "Times New Roman", Times, serif;<br />
font-size: 9px;<br />
color: <a href="/hashtags/ffffff">#FFFFFF</a>;<br />
background-color: #336699;<br />
}</p>
<p dir="auto">.dingbat {<br />
font-family: Georgia, "Times New Roman", Times, serif;<br />
background-color: <a href="/hashtags/cccc99">#CCCC99</a>;<br />
color: #660000; font-weight: bolder; font-size: medium;<br />
}</p>
<p dir="auto">input.big {<br />
width: 100px;<br />
}</p>
<p dir="auto">input.small {<br />
width: 50px;<br />
}</p>
<p dir="auto">.grassetto {<br />
font-weight: bold;<br />
}.corsivo {<br />
font-style: italic;<br />
}<br />
.titolo_paragrafo {<br />
color: #007134;<br />
}<br />
<a href="/hashtags/dovesiamo">#dove_siamo</a>{<br />
width:250px;<br />
height:300px;<br />
float:left;<br />
margin-right:20px;<br />
}<br />
.dove_siamo{<br />
font-family:Georgia, "Times New Roman", Times, serif;<br />
font-size:18px;<br />
color:#000;<br />
text-align:right;<br />
}</p>
<p dir="auto">.dove_siamo a{<br />
color:#000;<br />
}</p>
<p dir="auto"><a href="/hashtags/gallery">#gallery</a>{<br />
width:500px;<br />
height:460px;<br />
float:left;<br />
margin:auto 0;<br />
margin-top: 20px;</p>
<p dir="auto">}</p>
<p dir="auto"><a href="/hashtags/gallerydescrizione">#gallery_descrizione</a>{<br />
width:500px;<br />
height:430px;<br />
margin: auto 0;<br />
float:right;<br />
margin-top: 20px;<br />
}<br />
.gallery_class{<br />
font-family:Georgia, "Times New Roman", Times, serif;<br />
font-size:18px;<br />
text-align:left;<br />
color:#008D3F;</p>
<p dir="auto">}<br />
hr{<br />
color:#000;</p>
<p dir="auto">}</p>
]]></description><link>https://dev.connect.gt/topic/140896/spostamento-indesiderato-del-template</link><generator>RSS for Node</generator><lastBuildDate>Sun, 29 Nov 2026 12:54:08 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/140896.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 09 Dec 2010 17:12:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Spostamento indesiderato del template on Mon, 13 Dec 2010 14:07:09 GMT]]></title><description><![CDATA[<p dir="auto">Con che risoluzione vedi il sito? Sei sicuro non sia dovuto alla comparsa della sidebar in alcune pagine ed in altre (più corte) no?</p>
]]></description><link>https://dev.connect.gt/post/955378</link><guid isPermaLink="true">https://dev.connect.gt/post/955378</guid><dc:creator><![CDATA[codencode]]></dc:creator><pubDate>Mon, 13 Dec 2010 14:07:09 GMT</pubDate></item></channel></rss>