<?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[affiancare due DIV]]></title><description><![CDATA[<p dir="auto">Posto prima i codici :</p>
<p dir="auto">HTML</p>
<p dir="auto">&lt;body&gt;</p>
<p dir="auto">&lt;div id="header"&gt;<br />
&lt;ul id="menu"&gt;<br />
&lt;li class="vocecorrente"&gt;&lt;a href="home-page.html"&gt;&lt;strong&gt;Home&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="il-nostro-team.html"&gt;&lt;strong&gt;Il nostro Team&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="partners.html"&gt;&lt;strong&gt;Partners&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="#"&gt;&lt;strong&gt;Servizi&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;&lt;/div&gt;</p>
<p dir="auto">&lt;div id="navigation"&gt;<br />
&lt;div id="testo_img"&gt;&lt;/div&gt;<br />
&lt;div id="separatore"&gt;&lt;img src="images/linea.jpg" width="17" height="300" /&gt;&lt;/div&gt;</p>
<p dir="auto">&lt;/div&gt;</p>
<p dir="auto">&lt;div id="footer"&gt;&lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p dir="auto">CSS</p>
<p dir="auto">body{<br />
background:#FFF;<br />
margin:0 auto;<br />
padding:0;<br />
width:1260px;<br />
height:600px;<br />
}</p>
<p dir="auto"><a href="/hashtags/header">#header</a>{<br />
background-image:url(images/header.jpg);<br />
background-repeat:no-repeat;<br />
width:100%;<br />
height:120px;<br />
margin:0 auto;<br />
}</p>
<p dir="auto"><a href="/hashtags/navigation">#navigation</a>{<br />
background-color:#FFF;<br />
width:100%;<br />
height:430px;<br />
margin:0 auto;<br />
padding:0;<br />
}</p>
<p dir="auto"><a href="/hashtags/testoimg">#testo_img</a>{<br />
background-image:url(images/testo-home-page.jpg);<br />
background-repeat:no-repeat;<br />
height:430px;<br />
width:600px;<br />
margin:10px 0 0 0;<br />
padding:0;<br />
}</p>
<p dir="auto"><a href="/hashtags/separatore">#separatore</a>{<br />
width:25px;<br />
height:300px;<br />
padding:0;<br />
margin:0 auto;<br />
}</p>
<p dir="auto"><a href="/hashtags/menu">#menu</a>{<br />
width:20px;<br />
list-style:none;<br />
overflow:hidden;<br />
width:100%;<br />
float:left;<br />
padding:1px;<br />
margin:30px 0 0  0;</p>
<p dir="auto">}</p>
<p dir="auto"><a href="/hashtags/menu">#menu</a> li{<br />
display:inline;<br />
}</p>
<p dir="auto"><a href="/hashtags/menu">#menu</a> li.vocecorrente a{ /<em>caratteristiche della voce del menu selezionata</em>/<br />
color:#FC0;<br />
text-decoration: none;<br />
}</p>
<p dir="auto"><a href="/hashtags/menu">#menu</a> a{<br />
display:block;<br />
float:left;<br />
padding-rigth:90px;<br />
height:25px;<br />
margin-left:125px;<br />
padding-left:65px;<br />
font-family:Arial, Helvetica, sans-serif;<br />
font-style:italic;<br />
font-size:14px;<br />
text-decoration:none;<br />
color:#FFF;<br />
line-height:25px;<br />
}</p>
<p dir="auto"><a href="/hashtags/menu">#menu</a> a:hover{<br />
color:#FC0;</p>
<p dir="auto">}</p>
<p dir="auto"><a href="/hashtags/footer">#footer</a>{<br />
background-image:url(images/footer.jpg);<br />
background-repeat:no-repeat;<br />
margin:0 auto;<br />
padding:0;<br />
height:220px;<br />
width:100%;<br />
}</p>
<p dir="auto">Il mio problema,come da titolo, è il non riuscire ad affiancare due div.<br />
Piu precisamente quelli contenuti in "navigation" e cioè testo_img e separatore.</p>
<p dir="auto">Infatti non riesco in alcun modo a farli stare affianco tanto chè il div separatore và sempre giu allungando in altezza il div navigation.</p>
<p dir="auto">Il div separatore contiene solamente una linea per separare i contenuti dei testi dalle foto.</p>
]]></description><link>https://dev.connect.gt/topic/108707/affiancare-due-div</link><generator>RSS for Node</generator><lastBuildDate>Mon, 30 Nov 2026 19:16:12 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/108707.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Aug 2009 09:02:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to affiancare due DIV on Sun, 30 Aug 2009 21:14:31 GMT]]></title><description><![CDATA[<p dir="auto">Ciao impostando il float left funziona eccoti il codice</p>
<pre><code>&lt;head&gt;
&lt;title&gt;Esempio Div&lt;/title&gt;
&lt;style type="text/css"&gt;
body{
background:#FFF;
margin:0 auto;
padding:0;
width:1260px;
height:600px;
}
#header{
background-image:url(images/header.jpg);
background-repeat:no-repeat;
width:100%;
height:120px;
margin:0 auto;
}
 
#navigation{
background-color:#FFF;
width:100%;
height:430px;
margin:0 auto;
padding:0;
}
#testo_img{
background-image:url(images/testo-home-page.jpg);
background-repeat:no-repeat;
height:430px;
width:600px;
padding:0;
background-color:#000;
float:left;
}
#separatore{
width:25px;
height:300px;
padding:0;
margin:0 auto;
background-color:red;
float:left;
}
 
#menu{
width:20px;
list-style:none;
overflow:hidden;
width:100%;
float:left;
padding:1px;
margin:30px 0 0 0;
}

#menu li{
display:inline;
} 
#menu li.vocecorrente a{ /*caratteristiche della voce del menu selezionata*/
color:#FC0;
text-decoration: none;
}

#menu a{
display:block;
float:left;
padding-rigth:90px;
height:25px;
margin-left:125px;
padding-left:65px;
font-family:Arial, Helvetica, sans-serif;
font-style:italic;
font-size:14px;
text-decoration:none;
color:#000;
line-height:25px;
}
#menu a:hover{
color:#FC0;
} 
 
#footer{
margin:0 auto;
padding:0;
height:220px;
width:100%;
}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id="header"&gt;
&lt;ul id="menu"&gt;
&lt;li class="vocecorrente"&gt;&lt;a href="home-page.html"&gt;&lt;strong&gt;Home&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="il-nostro-team.html"&gt;&lt;strong&gt;Il nostro Team&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="partners.html"&gt;&lt;strong&gt;Partners&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;&lt;strong&gt;Servizi&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
&lt;div id="navigation"&gt;
&lt;div id="testo_img"&gt;&lt;/div&gt;
&lt;div id="separatore"&gt;&lt;img src= "images/linea.jpg" width="17" height="300" /&gt;&lt;/div&gt;
&lt;/div&gt; 
&lt;div id="footer"&gt;&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
]]></description><link>https://dev.connect.gt/post/852306</link><guid isPermaLink="true">https://dev.connect.gt/post/852306</guid><dc:creator><![CDATA[gabriele1986]]></dc:creator><pubDate>Sun, 30 Aug 2009 21:14:31 GMT</pubDate></item><item><title><![CDATA[Reply to affiancare due DIV on Mon, 24 Aug 2009 16:01:26 GMT]]></title><description><![CDATA[<p dir="auto">Hai provato ad impostare sui div il "float:left" ?</p>
]]></description><link>https://dev.connect.gt/post/852307</link><guid isPermaLink="true">https://dev.connect.gt/post/852307</guid><dc:creator><![CDATA[marcocarrieri]]></dc:creator><pubDate>Mon, 24 Aug 2009 16:01:26 GMT</pubDate></item></channel></rss>