struttura DIV realizzata con float: left che si spezza

asevenx

Utente Attivo
7 Nov 2009
312
0
16
Salve, ho realizzato il layout del sito con i div utilizzando la proprietà float. La struttura è la seguente (semplificando):
HTML:
	<div id="container-top">
    	<div class="space1"></div>
        <div class="a1"></div>
        <div class="a2"></div>
        <div class="a3"></div>
        <div class="space1"></div>  
    </div>

HTML:
#container-top {
	clear:both;
}

.space1, .a1, .a2, .a3, .link {
	float:left;
}

.space1 {
	width:40px;
	height:20px;	
}

.a1 {
	background-image:url(a/a1.png);
	width:50px;
	height:20px;	
}

.a2 {
	background-image:url(a/a2.png);
	width:1100px;
	height:20px;	
}

.a3 {
	background-image:url(a/a3.png);
	width:50px;
	height:20px;	
}

L'idea era quella di avere i vari div tutti in linea, ma se aumento la risoluzione dello schermo questi si spezzano rompendo la struttura. Grazie a tutti
 

asevenx

Utente Attivo
7 Nov 2009
312
0
16
scusate se rispondo a questo mio post dopo tanto tempo, ma avevo trovato un rimedio temporaneo al problema, ma ora vorrei risolverlo. Qualche aiuto? grazie

PS: si lo fa con tutti browser
 
Discussioni simili
Autore Titolo Forum Risposte Data
F Ricreare struttura php+mysql su Xampp Apache 0
G Consigli SEO per scrittura e struttura pagine SEO e Posizionamento 7
max1974 Struttura $.ajax Ajax 7
V [WordPress] Creare una struttura di articoli da una struttura di cartelle WordPress 1
G inserimento csv in tabella mysql; problema con struttura PHP 11
A Struttura del sito SEO e Posizionamento 0
N Consiglio struttura database WFM Database 1
L Struttura ottimale di un piccolo sito SEO e Posizionamento 8
N Struttura ad Albero di Directory _ PHP PHP 2
W PHP Webservices SOAP, struttura file wsdl XML 4
M [MS Access] Variare struttura tabella dati MS Access 7
elpirata Struttura tabella per inizio nuovo progetto Database 7
M [PHP] struttura ad albero PHP 1
R [PHP] Struttura Database di statistica PHP 4
KILLERIX [PHP] Notifiche utente, connessione database, struttura generale dati PHP 3
M [PHP] Struttura iterativa PHP 2
M [PHP] Algoritmo con struttura iterativa PHP 2
M [PHP] Problema con algoritmo struttura iterativa PHP 2
Giuliana Signorello WP: Creare un booking multi-struttura con area agenzie annessa WordPress 0
G Editare pagine wordpress e struttura dei file WordPress 3
voldemort Scelta Router Professionale per una grande struttura alberghiera Reti LAN e Wireless 5
A struttura database per questionario Database 1
S Struttura database MySQL 8
M classi e struttura directory PHP 1
J [RISOLTO] Struttura pagina con HTML5 e CSS HTML e CSS 7
S non riesco a capire la struttura di questo sito in PHP PHP 0
I Come presentare la struttura dei contentui di un sito? SEO e Posizionamento 2
S Aiuto struttura Database MySQL MySQL 0
L Informazione struttura classe.. Javascript 8
B Form in struttura tabellare HTML e CSS 9
Tsukaima Una struttura da Java Javascript 1
P E/R e struttura DB negozio Database 0
B Consiglio struttura database mysql MySQL 6
L struttura del database (voce: in eccesso su phpmyadmin).. MySQL 2
M Software per Sitemap gratis? ovvero per creare offline la struttura! HTML e CSS 0
W Problema di struttura della chat Ajax 0
B Aiuto struttura tabella mysql nel DB MySQL 10
Y Aiuto per rappresentazione grafica di struttura Categorie sottocategorie - 3 livelli PHP 1
Monital [Mysql]struttura tabell MySQL 2
V Creazione TAG per la Struttura di un sito web HTML e CSS 1
P struttura dati content management system Database 0
D Prestazioni vs Struttura SQL server Database 0
G Struttura ad albero binario PHP 0
G Consiglio per struttura Categorie PHP 2
S [MsSQL > MySQL] Migrazione struttura e dati e' possibile? MySQL 0
H Struttura sito HTML e CSS 4
V visualizzazione struttura in frontpage HTML e CSS 1
D struttura sito flash (era: aiuto!!) Flash 6
Ruhe aiutooooooooo con una struttura per sito di incontri online!! Classic ASP 8
E Creare un testo trasparente dietro un div HTML e CSS 5

Discussioni simili