ciao a tutti,
sono nelle canne....
se volessi inserire un div a destra come quello già presente a sinistra come posso fare?
ecco il css
codice:
* { margin: 0px; padding: 0px; } a{ color: #022649; font-weight:bold; text-decoration: none; } a:hover { color: #ffffff; } body { background: #c9ebff url(images/bg_all.jpg) top repeat-x; font: 12px Arial, Helvetica, sans-serif; color: #000000; margin:0 auto; padding:0px; } #content{ margin: 0 auto; width: 879px; text-align: left; } #main{ width: 879px; margin: 0 auto; clear:both; background: url(images/con_bg.png); } #header { width: 1105px; height: 191px; background: url(images/header.jpg) no-repeat center; margin: 0 auto; } #logo { height: 130px; padding-left: 680px; padding-top:20px; } #logo a { text-decoration: none; text-transform: lowercase; font-style: italic; font-size: 18px; color: #ffffff; } #logo H2 a{ font-size: 12px; } #menu{ width:1380px; height: 31px; margin: 0 auto; padding-left: 10px; margin-top:23px; } #menu ul { padding-left: 0px; list-style:none; display: inline; } #menu li { display: inline; list-style: none; padding-left:0px; } #menu a { font-family: Georgia, "Times New Roman", Times, serif; float: left; width: 152px; height: 23px; display: block; text-align: center; text-decoration: none; color: #ffffff; font-weight: normal; padding-top: 8px; font-size: 17px; background: url(images/menu_bg.jpg) no-repeat left top; padding-right:1px; } #menu a:hover{ width: 152px; height: 23px; background: url(images/menu_hover.jpg) no-repeat center; color: #ffffff; } #con_top{ background: url(images/con_top.png) no-repeat; height:7px; margin-top:10px; } #con_bot{ background: url(images/con_bot.png) no-repeat; height:18px; } #left{ width: 260px; padding-left: 10px; } #left H3{ font-family: Georgia, "Times New Roman", Times, serif; font-size: 18px; font-weight: normal; text-align:center; color: #ffffff; padding-top:15px; background: url(images/title_left.jpg) no-repeat; height: 39px; } #left ul{ list-style: none; padding-left: 10px; padding-right:10px; padding-top: 35px; background: url(images/leftulbg.jpg) no-repeat top; } #left li{ background: url(images/ls.png) no-repeat left top; padding-left: 25px; margin-bottom:10px; padding-bottom: 10px; } #left a{ font-family: Arial, Helvetica, sans-serif; font-size:12px; text-decoration:none; color: #3793ce; font-weight:bold; } #left a:hover{ color: #000000; } .lefthr{ height:1px; margin-top: 30px; border-bottom: 1px solid #000000; } #right_top{ background: url(images/right_top.png) no-repeat; height:8px; } #right{ float: right; width: 587px; margin-right:11px; } #textblog{ padding: 8px; } #right H4{ font-family: Georgia, "Times New Roman", Times, serif; font-size: 18px; font-weight: normal; color: #022649; padding-left:3px; background: url(images/title_right.png) repeat-x bottom; margin-bottom:20px; padding-bottom:5px; clear:both; } #right p { margin: 0; padding: 0; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; } #right h2 { margin: 0; padding: 0; padding-top: 10px; color: #196050; } .read, #left ul li .read{ float:right; } .read a, #left ul li .read a{ font-weight:normal; color: #ffffff; background: url(images/read.png) no-repeat top; width:104px; height: 19px; display: block; padding-top:3px; text-align:center; } .read a:hover, #left ul li .read a:hover{ color: #000000; } .text{ padding-top:20px; } h3{ font-family: Arial, Helvetica, sans-serif; font-size:12px; color: #18004f; font-weight:bold; } #leftcol{ width: 195px; float:left; margin-left: 10px; text-align:left; } #cencol{ width: 195px; float:left; margin-left: 40px; text-align:left; } #rightcol{ width: 195px; float:left; margin-left: 40px; margin-right: 10px; text-align:left; } #footer { height: 33px; clear: both; padding-top: 5px; background: url(images/footer.jpg) repeat-x top; margin-top:10px; } #footer p { margin: 0; font-size: 10px; text-align: center; color: #ffffff; } #footer a { color: #ffffff; }
e la relativa pagina (senza immagini)
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Metamorphosis Design Free Css Templates</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <link href="styles.css" rel="stylesheet" type="text/css" media="screen" /> </head> <body> <div id="menu"> <ul> <li id="button1">Home <li id="button2">Parliamo di... <li id="button3">Calendario Eventi <li id="button4">Le Nostre Attività <li id="button5">Le Sottosezioni <li id="button6">Le Recensioni <li id="button7">Album Foto <li id="button7">Link Utili <li id="button8">Contatti [/list] </div> <div id="header"> <div id="logo"> </div> </div> <div id="content"> <div id="con_top"></div> <div id="main"> <div id="right"> <div id="right_top"></div> <div id="textblog"> <h1> La Segreteria informa...</h1>
<h4>MANIFESTAZIONE COMUNALE</h4> [img]images/pic01.jpg[/img]
This website template is released under a Creative Commons Attribution 2.5 License</p>
We request you retain the full copyright notice below including the link to www.metamorphozis.com.
This not only gives respect to the large amount of time given freely by the developers but also helps build interest, traffic and use of our free and paid designs. If you cannot (for good reason) retain the full copyright we request you at least leave in place the Website Templates line, with Website Templates linked to www.metamorphozis.com. If you refuse to include even this then support may be affected.
You are allowed to use this design only if you agree to the following conditions:
- You cannot remove copyright notice from this design without our permission.
- If you modify this design it still should contain copyright because it is based on our work.
- You may copy, distribute, modify, etc. this template as long as link to our website remains untouched.
For support visit http://www.metamorphozis.com/contact/contact.php
The Metamorphosis Design : 2009 </p> <div class="read">read more</div> <h4>INIZIATO IL TESSERAMENTO 2012</h4> [img]images/pic01.jpg[/img]
This website template is released under a Creative Commons Attribution 2.5 License</p>
We request you retain the full copyright notice below including the link to www.metamorphozis.com.
This not only gives respect to the large amount of time given freely by the developers but also helps build interest, traffic and use of our free and paid designs. If you cannot (for good reason) retain the full copyright we request you at least leave in place the Website Templates line, with Website Templates linked to www.metamorphozis.com. If you refuse to include even this then support may be affected.
You are allowed to use this design only if you agree to the following conditions:
- You cannot remove copyright notice from this design without our permission.
- If you modify this design it still should contain copyright because it is based on our work.
- You may copy, distribute, modify, etc. this template as long as link to our website remains untouched.
For support visit http://www.metamorphozis.com/contact/contact.php
The Metamorphosis Design : 2009 </p> <div class="read">read more</div> <h4>UN NUOVO LIBRO IN ARRIVO!</h4> [img]images/pic02.jpg[/img]
Consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat.</p>
Sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autemr in hendrerit in vulputate velit esse molestie consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat...</p>
Consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat.</p>
Sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autemr in hendrerit in vulputate velit esse molestie consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat...</p> <div class="read">read more </div> </div> </div> <div id="left"> <h3>Prossimi Eventi</h3> <ul> [*] 05-11-2009 - Scialpinismo
<a href="#">Traversata del Monte Bianco
</a>
Sed tempor, neque ut vulputate pretium, arcu justo pellentesque orci, sollicitudin malesuada diam tellus vitae libero. Ut sem neque, sollicitudin...
<div class="read">read more</div><div class="lefthr"></div> [*] 05-11-2009 - Speleologia
<a href="#">Visita dell'Arma Pollera
</a>
Sed tempor, neque ut vulputate pretium, arcu justo pellentesque orci, sollicitudin malesuada diam tellus vitae libero. Ut sem neque, sollicitudin...
<div class="read">read more</div><div class="lefthr"></div>[*] 05-11-2009 - Cicloescursionismo
<a href="#">Giro dei Monti Liguri.
</a>
Sed tempor, neque ut vulputate pretium, arcu justo pellentesque orci, sollicitudin malesuada diam tellus vitae libero. Ut sem neque, sollicitudin...
<div class="read">read more</div> [/list] </div> <div style="clear:both;"></div> </div><div id="con_bot"></div> </div> <div id="footer">
Copyright 2009. Privacy Policy | Terms of Use | <abbr title="eXtensible HyperText Markup Language">XHTML</abbr> | <abbr title="Cascading Style Sheets">CSS</abbr></p>
Design by Flash Web Templates </p> </div> <div style="text-align: center; font-size: 0.75em;">Design downloaded from free website templates.</div></body> </html>