Torna indietro   Hardware Upgrade Forum > Software > Programmazione

Lenovo IdeaPad Slim 3: un notebook Snapdragon X economico
Lenovo IdeaPad Slim 3: un notebook Snapdragon X economico
Forte della piattaforma Qualcomm Snapdragon X, il notebook Lenovo IdeaPad Slim 3 riesce a coniugare caratteristiche tecniche interessanti ad uno chassis robusto, con autonomia di funzionamento a batteria che va ben oltre la tipica giornata di lavoro. Un notebook dal costo accessibile pensato per l'utilizzo domestico o in ufficio, soprattutto con applicazioni native per architettura ARM
Recensione OnePlus Watch 3 43mm: lo smartwatch che mancava per i polsi più piccoli
Recensione OnePlus Watch 3 43mm: lo smartwatch che mancava per i polsi più piccoli
OnePlus risponde alle esigenze di chi cerca un dispositivo indossabile dalle dimensioni contenute con OnePlus Watch 3 43mm. La versione ridotta del flagship mantiene gran parte delle caratteristiche del modello maggiore, offrendo un'esperienza completa in un formato compatto. Il suo limite più grande è abbastanza ovvio: l'autonomia non è il punto di forza di questo modello, ma si raggiungono comodamente le due giornate piene con un uso normale.
BOOX Note Air4 C è uno spettacolo: il tablet E Ink con Android per lettura e scrittura
BOOX Note Air4 C è uno spettacolo: il tablet E Ink con Android per lettura e scrittura
BOOX Note Air4 C rappresenta l'ultima incarnazione della categoria dei tablet E Ink a colori di Onyx, e combina le prestazioni di un dispositivo Android con l'ottima tecnologia Kaleido 3 per il display. Con schermo da 10,3 pollici, un processore Qualcomm Snapdragon 750G e 6 GB di RAM, promette un'esperienza completa per lettura, scrittura e produttività. Il prezzo lo posiziona nel segmento premium, ma questo dispositivo è un vero spettacolo!
Tutti gli articoli Tutte le news

Vai al Forum
Rispondi
 
Strumenti
Old 10-10-2007, 11:36   #1
D4rkAng3l
Bannato
 
Iscritto dal: Mar 2004
Città: Roma
Messaggi: 2682
[CSS] Problema posizionamento immagini (disperazione)

Ragazzi, stò impazzendo con il posizionamento di un'immagine.
Se andate a questo indirizzo capite facilmente: http://www.siatec.net/andrea/megattera/

In pratica dovrei posizionare l'immagine dei pescetti accanto al logo della megattera ma non sò perchè me lo manda a capo...ci stò diventando scemo (in pratica devono essere sullo stesso livello).

Il codice XHTML è:

Codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Layout 38</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="HAPedit 3.1">
<link href="layout.css" rel="stylesheet" type="text/css" title="default" />
</head>
<body>
<div id="container">
   
   <div id="header">
     <div id="logo" class="head"></div>
     <div id="foto" class="head"></div>   
   
   </div>
   <div id="menu">
   <ul id="nav">
       <li id="active"><a href="#"><span>Home</span></a></li>
       <li><a href="#"><span>About me</span></a></li>
       <li><a href="#"><span>Servizzi</span></a></li>
       <li><a href="#"><span>Portfolio</span></a></li>
       <li><a href="#"><span>Contact</span></a></li>
       <li><a href="#"><span>Links</span></a></li>
   </ul></div>
   
   <div id="wrapper">
      <div id="content">
         <p><strong>1) Content here.</strong> column long long column very long fill fill fill long text            text column text silly very make long very fill silly make make long make text fill very            long text column silly silly very column long very column filler fill long make filler long            silly very long silly silly silly long filler make column filler make silly long long fill            very.</p>
         <p>very make make fill silly long long filler column long make silly silly column filler fill            fill very filler text fill filler column make fill make text very make make very fill fill            long make very filler column very long very filler silly very make filler silly make make            column column </p>
         <p>fill long make long text very make long fill column make text very silly column filler silly            text fill text filler filler filler make make make make text filler fill column filler make            silly make text text fill make very filler column very </p>
         <p>column text long column make silly long text filler silly very very very long filler fill            very fill silly very make make filler text filler text make silly text text long fill fill            make text fill long text very silly long long filler filler fill silly long make column make            silly long column long make very </p>
       </div>
    </div>

    <div id="navigation">
        <p>
          <ul id="nav2">
			<li><a href="#1" title="Home">Home</a></li>
			<li><a href="#2" title="About me">About me</a></li>
			<li><a href="#3" title="Servizzi">Servizzi</a></li>
			<li><a href="#4" title="Portfolio">Portfolio</a></li>
			<li><a href="#5" title="Contact">Contact</a></li>
			<li><a href="#6" title="Links">Links</a></li>	
		 </ul>
        </p>
    </div>

    <div id="extra">
        <p><strong>3) More stuff here.</strong> very text make long column make filler fill make column        column silly filler text silly column fill silly fill column text filler make text silly filler        make filler very silly make text very very text make long filler very make column make silly        column fill silly column long make silly filler column filler silly long long column fill silly        column very </p>
   </div>
   
   <div id="footer"><p>Here it goes the footer</p></div>

</div>
</body>
</html>
Il codice CSS invece è:

Codice:
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%;
}

p{
    margin-top: 0px; 
	margin-right: 10px; 
	margin-bottom: 10px;
	margin-left: 10px;
}


a{  
   display:block;
   color: #981793;
   padding: 10px;
}

div#container{
   width: 760px;
   margin:0 auto;
   border: 1px solid #D7D7D7;
   }

div#header{
   margin: 0 auto;
   width: 760px;
   height: 160px;
   border: 1px solid #D7D7D7;
   color: #000;
}

div#logo{
   height: 160px;
   width: 472px;
   margin-top: 10px;
   background-image: url("img/megattera.jpg");
   background-repeat: no-repeat;
   background-position: top left;

}

div#foto{
   float: right;
   height: 160px;
   width: 288px;
   background-image: url("img/castagnole.jpg");
   background-repeat: no-repeat;
}

div#header h1{
   margin: 0;
   font: normal 280% Georgia, "Times New Roman", Times, serif;
   color: #79B30B;

}

ul#nav{
   float: left;
   width: 100%;
   list-style: none;
   margin: 0;
   padding: 0;
   border-bottom: 1px solid #D7D7D7;
}

ul#nav li{
   float: left;
   margin: 0 0.2em 0;
   padding: 0;
}

ul#nav a{
   float: left;
   padding: 0 0 0 0.4em;
   background: url("img/tab.png") no-repeat top left;
   text-decoration: none;
   color: #222;
}

ul#nav span{
   float: left;
   padding: 0.4em 0.4em 0.4em 0;
   background: url("img/tab.png") no-repeat top right;
   cursor: pointer;
}

ul#nav li#active a,ul#nav a:hover{
   background: url("img/tab2.png") no-repeat top left;
}

ul#nav li#active span,ul#nav a:hover span{
    background: url("img/tab2.png") no-repeat top right;
	color: #184D8A;
}
	
	

div#content p{line-height:1.4}
div#navigation{background:#ffffff}

ul#nav2{
	list-style: none;
	margin: 0;
	padding: 0;
	}
	
/* =-=-=-=-=-=-=-[Navigation Three]-=-=-=-=-=-=-=- */
	
#navigation {
	width: 200px;
	border: 1px solid #ccc;
	margin-top: 10px;
	}

#navigation li a {
  	height: 32px;
  	voice-family: "\"}\""; 
  	voice-family: inherit;
  	height: 24px;
	text-decoration: none;
	}	
	
#navigation li a:link, #menu3 li a:visited {
	color: #888;
	display: block;
	background: url(img/menu3.gif);
	padding: 8px 0 0 30px;
	}
	
#navigation li a:hover, #menu3 li a:active {
	color: #283A50;
	background: url(img/menu3.gif) 0 -32px;
	padding: 8px 0 0 30px;
	}


div#extra{background:#FF8539}
div#footer{background: #333;color: #FFF}
div#footer p{margin:0;padding:5px 10px}


div#content{float:right;width:500px}
div#navigation{float:left;width:200px}
div#extra{clear:both;width:100%}
Credo non sia nulla di difficile ma mi sfugge qualcosa...perchè non riesco a mettere le due immagini una accanto all'altra sulla stessa riga, cosa sbaglio?

Grazie
Andrea
D4rkAng3l è offline   Rispondi citando il messaggio o parte di esso
Old 10-10-2007, 11:43   #2
isAlreadyInUse
Senior Member
 
L'Avatar di isAlreadyInUse
 
Iscritto dal: Sep 2007
Messaggi: 754
Ho fatto na modifica al volo vedi se ti calza
Codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Layout 38</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="HAPedit 3.1">
<link href="layout.css" rel="stylesheet" type="text/css" title="default" />
</head>
<body>
<div id="container">
   
   <div id="header">
   		<img id="foto" class="head" src="img/megattera.jpg"></img>      
    	<img id="logo" class="head" src="img/castagnole.jpg"></img>     
   </div>
   <div id="menu">
   <ul id="nav">
       <li id="active"><a href="#"><span>Home</span></a></li>
       <li><a href="#"><span>About me</span></a></li>
       <li><a href="#"><span>Servizzi</span></a></li>
       <li><a href="#"><span>Portfolio</span></a></li>
       <li><a href="#"><span>Contact</span></a></li>
       <li><a href="#"><span>Links</span></a></li>
   </ul></div>
   
   <div id="wrapper">
      <div id="content">
         <p><strong>1) Content here.</strong> column long long column very long fill fill fill long text            text column text silly very make long very fill silly make make long make text fill very            long text column silly silly very column long very column filler fill long make filler long            silly very long silly silly silly long filler make column filler make silly long long fill            very.</p>
         <p>very make make fill silly long long filler column long make silly silly column filler fill            fill very filler text fill filler column make fill make text very make make very fill fill            long make very filler column very long very filler silly very make filler silly make make            column column </p>
         <p>fill long make long text very make long fill column make text very silly column filler silly            text fill text filler filler filler make make make make text filler fill column filler make            silly make text text fill make very filler column very </p>
         <p>column text long column make silly long text filler silly very very very long filler fill            very fill silly very make make filler text filler text make silly text text long fill fill            make text fill long text very silly long long filler filler fill silly long make column make            silly long column long make very </p>
       </div>
    </div>

    <div id="navigation">
        <p>
          <ul id="nav2">
			<li><a href="#1" title="Home">Home</a></li>
			<li><a href="#2" title="About me">About me</a></li>
			<li><a href="#3" title="Servizzi">Servizzi</a></li>
			<li><a href="#4" title="Portfolio">Portfolio</a></li>
			<li><a href="#5" title="Contact">Contact</a></li>
			<li><a href="#6" title="Links">Links</a></li>	
		 </ul>
        </p>
    </div>

    <div id="extra">
        <p><strong>3) More stuff here.</strong> very text make long column make filler fill make column        column silly filler text silly column fill silly fill column text filler make text silly filler        make filler very silly make text very very text make long filler very make column make silly        column fill silly column long make silly filler column filler silly long long column fill silly        column very </p>
   </div>
   
   <div id="footer"><p>Here it goes the footer</p></div>

</div>
</body>
</html>
__________________
http://www.tevigroup.it/
isAlreadyInUse è offline   Rispondi citando il messaggio o parte di esso
Old 10-10-2007, 11:49   #3
isAlreadyInUse
Senior Member
 
L'Avatar di isAlreadyInUse
 
Iscritto dal: Sep 2007
Messaggi: 754
Anzi fai cosi

Codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Layout 38</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="HAPedit 3.1">
<link href="layout.css" rel="stylesheet" type="text/css" title="default" />
</head>
<body>
<div id="container">
   
   <div id="header">
     <div id="logo" class="head"></div>
     <div id="foto" class="head"></div>      
   </div>
   <div id="menu">
   <ul id="nav">
       <li id="active"><a href="#"><span>Home</span></a></li>
       <li><a href="#"><span>About me</span></a></li>
       <li><a href="#"><span>Servizzi</span></a></li>
       <li><a href="#"><span>Portfolio</span></a></li>
       <li><a href="#"><span>Contact</span></a></li>
       <li><a href="#"><span>Links</span></a></li>
   </ul></div>
   
   <div id="wrapper">
      <div id="content">
         <p><strong>1) Content here.</strong> column long long column very long fill fill fill long text            text column text silly very make long very fill silly make make long make text fill very            long text column silly silly very column long very column filler fill long make filler long            silly very long silly silly silly long filler make column filler make silly long long fill            very.</p>
         <p>very make make fill silly long long filler column long make silly silly column filler fill            fill very filler text fill filler column make fill make text very make make very fill fill            long make very filler column very long very filler silly very make filler silly make make            column column </p>
         <p>fill long make long text very make long fill column make text very silly column filler silly            text fill text filler filler filler make make make make text filler fill column filler make            silly make text text fill make very filler column very </p>
         <p>column text long column make silly long text filler silly very very very long filler fill            very fill silly very make make filler text filler text make silly text text long fill fill            make text fill long text very silly long long filler filler fill silly long make column make            silly long column long make very </p>
       </div>
    </div>

    <div id="navigation">
        <p>
          <ul id="nav2">
			<li><a href="#1" title="Home">Home</a></li>
			<li><a href="#2" title="About me">About me</a></li>
			<li><a href="#3" title="Servizzi">Servizzi</a></li>
			<li><a href="#4" title="Portfolio">Portfolio</a></li>
			<li><a href="#5" title="Contact">Contact</a></li>
			<li><a href="#6" title="Links">Links</a></li>	
		 </ul>
        </p>
    </div>

    <div id="extra">
        <p><strong>3) More stuff here.</strong> very text make long column make filler fill make column        column silly filler text silly column fill silly fill column text filler make text silly filler        make filler very silly make text very very text make long filler very make column make silly        column fill silly column long make silly filler column filler silly long long column fill silly        column very </p>
   </div>
   
   <div id="footer"><p>Here it goes the footer</p></div>

</div>
</body>
</html>

Codice:
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%;
}

p{
    margin-top: 0px; 
	margin-right: 10px; 
	margin-bottom: 10px;
	margin-left: 10px;
}


a{  
   display:block;
   color: #981793;
   padding: 10px;
}

div#container{
   width: 760px;
   margin:0 auto;
   border: 1px solid #D7D7D7;
   }

div#header{
   margin: 0 auto;
   width: 760px;
   height: 160px;
   border: 1px solid #D7D7D7;
   color: #000;
}

div#logo{
   float: left;
   height: 160px;
   width: 472px;
   margin-top: 10px;
   background-image: url("img/megattera.jpg");
   background-repeat: no-repeat;
   background-position: top left;

}

div#foto{
   float: right;
   height: 160px;
   width: 288px;
   background-image: url("img/castagnole.jpg");
   background-repeat: no-repeat;
}

div#header h1{	
   margin: 0;
   font: normal 280% Georgia, "Times New Roman", Times, serif;
   color: #79B30B;

}

ul#nav{
   float: left;
   width: 100%;
   list-style: none;
   margin: 0;
   padding: 0;
   border-bottom: 1px solid #D7D7D7;
}

ul#nav li{
   float: left;
   margin: 0 0.2em 0;
   padding: 0;
}

ul#nav a{
   float: left;
   padding: 0 0 0 0.4em;
   background: url("img/tab.png") no-repeat top left;
   text-decoration: none;
   color: #222;
}

ul#nav span{
   float: left;
   padding: 0.4em 0.4em 0.4em 0;
   background: url("img/tab.png") no-repeat top right;
   cursor: pointer;
}

ul#nav li#active a,ul#nav a:hover{
   background: url("img/tab2.png") no-repeat top left;
}

ul#nav li#active span,ul#nav a:hover span{
    background: url("img/tab2.png") no-repeat top right;
	color: #184D8A;
}
	
	

div#content p{line-height:1.4}
div#navigation{background:#ffffff}

ul#nav2{
	list-style: none;
	margin: 0;
	padding: 0;
	}
	
/* =-=-=-=-=-=-=-[Navigation Three]-=-=-=-=-=-=-=- */
	
#navigation {
	width: 200px;
	border: 1px solid #ccc;
	margin-top: 10px;
	}

#navigation li a {
  	height: 32px;
  	voice-family: "\"}\""; 
  	voice-family: inherit;
  	height: 24px;
	text-decoration: none;
	}	
	
#navigation li a:link, #menu3 li a:visited {
	color: #888;
	display: block;
	background: url(img/menu3.gif);
	padding: 8px 0 0 30px;
	}
	
#navigation li a:hover, #menu3 li a:active {
	color: #283A50;
	background: url(img/menu3.gif) 0 -32px;
	padding: 8px 0 0 30px;
	}


div#extra{background:#FF8539}
div#footer{background: #333;color: #FFF}
div#footer p{margin:0;padding:5px 10px}


div#content{float:right;width:500px}
div#navigation{float:left;width:200px}
div#extra{clear:both;width:100%}
__________________
http://www.tevigroup.it/
isAlreadyInUse è offline   Rispondi citando il messaggio o parte di esso
Old 10-10-2007, 11:50   #4
D4rkAng3l
Bannato
 
Iscritto dal: Mar 2004
Città: Roma
Messaggi: 2682
non proprio...perchè così mi lascia uno spazio bianco a sinistra e non sò perchè e poi volevo usare i CSS per tutto quindi inserire le immagini come sfondo di quei due div...diote che si può fare?
D4rkAng3l è offline   Rispondi citando il messaggio o parte di esso
Old 10-10-2007, 11:50   #5
isAlreadyInUse
Senior Member
 
L'Avatar di isAlreadyInUse
 
Iscritto dal: Sep 2007
Messaggi: 754
Vedi che ti ho postato la soluzione prova ilmio secondo post
__________________
http://www.tevigroup.it/
isAlreadyInUse è offline   Rispondi citando il messaggio o parte di esso
Old 10-10-2007, 12:04   #6
D4rkAng3l
Bannato
 
Iscritto dal: Mar 2004
Città: Roma
Messaggi: 2682
Ok,
perfetto...ti ringrazio...anche se mi sono appena accorto che graficamente forse quell'immagine accanto al logo fa un po' cagare
D4rkAng3l è offline   Rispondi citando il messaggio o parte di esso
Old 10-10-2007, 12:06   #7
isAlreadyInUse
Senior Member
 
L'Avatar di isAlreadyInUse
 
Iscritto dal: Sep 2007
Messaggi: 754
bhe a me nn sembra male, magari sostiuiscila con una ritraente un bel piatto di frittura di pesce
__________________
http://www.tevigroup.it/
isAlreadyInUse è offline   Rispondi citando il messaggio o parte di esso
 Rispondi


Lenovo IdeaPad Slim 3: un notebook Snapdragon X economico Lenovo IdeaPad Slim 3: un notebook Snapdragon X ...
Recensione OnePlus Watch 3 43mm: lo smartwatch che mancava per i polsi più piccoli Recensione OnePlus Watch 3 43mm: lo smartwatch c...
BOOX Note Air4 C è uno spettacolo: il tablet E Ink con Android per lettura e scrittura BOOX Note Air4 C è uno spettacolo: il tab...
Recensione Sony Xperia 1 VII: lo smartphone per gli appassionati di fotografia Recensione Sony Xperia 1 VII: lo smartphone per ...
Attenti a Poco F7: può essere il best buy del 2025. Recensione Attenti a Poco F7: può essere il best buy...
Marchi prestigiosi a prezzi da outlet su...
Upgrade PC a prezzi mai visti: Amazon sc...
Offerte Tado su Amazon: valvole termosta...
MSI Cyborg 15 con GeForce RTX 4060 e i7 ...
MacBook Air 2025 chip M4 a 949€, ma occh...
La sonda spaziale NASA New Horizons (che...
HONOR MagicPad 3: il tablet con Snapdrag...
Qualcomm mischia le carte: in arrivo ci ...
Meta sceglie Google per lo sviluppo dell...
Redmi Note 15 Pro+: batteria più piccola...
Amazon, un weekend di svendite lampo, ta...
Tutte le offerte sui portatili: tre tutt...
Macchie addio per sempre: SpotClean ProH...
Smartphone con batteria da 8.000 mAh? On...
Dreame L10s Ultra Gen 2 al minimo storic...
Chromium
GPU-Z
OCCT
LibreOffice Portable
Opera One Portable
Opera One 106
CCleaner Portable
CCleaner Standard
Cpu-Z
Driver NVIDIA GeForce 546.65 WHQL
SmartFTP
Trillian
Google Chrome Portable
Google Chrome 120
VirtualBox
Tutti gli articoli Tutte le news Tutti i download

Strumenti

Regole
Non Puoi aprire nuove discussioni
Non Puoi rispondere ai messaggi
Non Puoi allegare file
Non Puoi modificare i tuoi messaggi

Il codice vB è On
Le Faccine sono On
Il codice [IMG] è On
Il codice HTML è Off
Vai al Forum


Tutti gli orari sono GMT +1. Ora sono le: 09:11.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Served by www3v