Codice HTML:
body {
margin:0 auto;
padding:0;
border:0; /* This removes the border around the viewport in old versions of IE */
width:100%;
background:#fff;
min-width:600px; /* Minimum width of layout - remove line if not required */
font-size:90%;
text-align: center;
}
/*header*/
#header {
background-color: rgb(0,204,255);
background-image: url(/immagini/header.jpg);
background-repeat: no-repeat;
background-position:center right;
color: #ff0;
padding-top:0.1em;
clear:both;
float:left;
width:100%;
}
h1.header {
color: #fff;
font-size:1.5em;
text-align:left;
margin-left:1%;
margin-top:1%;
}
h2.header {
color: #fff;
font-size:1em;
text-align:left;
margin-left:1%;
}
h3.header {
color: #fff;
font-size:1.1em;
text-align:left;
margin-left:1%;
}
/*stili scrittura*/
h1 {
padding-left: 0.5em;
font-size: 3em;
margin: 0 0 0 0.5em;
padding: 0;
}
h3.contatore{
font-size:1em;
text-align: left;
color: black;
padding:0;
margin: 0 0 0.1% 1%;
padding:0 0 1% 0 ;
}
h5 {
color: #999;
font-size: 0.3em;
text-align: center;
margin-bottom: 0.5em;
margin: 0;
padding: 0;
}
a {
text-align: center;
}
/* column container */
.container {
position:relative; /* This fixes the IE7 overflow hidden bug */
clear:both;
float:left;
width:80%; /* width of whole page */
overflow:hidden; /* This chops off any overhanging divs */
}
/* common column settings */
.colcommon {
margin:0 auto;
float:right;
width:100%;
position:relative;
right:15%; /* destra column width */
background-color:rgb(240,96,255);
border-right: 1px solid #999; /* left column background colour */
}
.colsx,
.coldx {
float:left;
position:relative;
padding:0 0 1em 0;
overflow:hidden;
}
/*col dx */
.leftmenu .coldx {
left:50%; /* 100% plus left column left padding */
padding:1em;
background-color: #fff;
width:45%;
text-align:center;
}
#coldx h1 {
text-align:center;
padding-left: 0.5em;
font-size: 2.5em;
margin: 0 0 0 0.5em;
padding: 0;
}
#coldx h2 {
color: #999;
font-size: 2em;
text-align: center;
color: rgb(127,64,224);
padding-bottom: 0.1em;
}
#palloncini td{
padding: 8px ;
background-color:rgb(153,204,255);
}
#palloncini p{
color:rgb(0,0,255);
text-align:center;
font-size:130%;
border: 3px dashed rgb(153,255,51);
padding:1px;
margin:0;
padding:0;
}
#palloncini h3 {
font-size:2em;
text-align: center;
}
#palloncini img{
margin: 1px;
}
#palloncini table {
margin:0 auto;
margin-top:1em;
margin-bottom:1em;
}
#index p {
text-align:center;
font-weight: bold;
font-size:1.2em;
margin-bottom:2em;
}
table.formatgiochi{
text-align:center;
width:70%;
margin:0 auto;
font-size:1.5em;
}
.giochi p{
font-size:1.4em;
font-weight: bold;
}
.bolle{
font-size:1.4em;
font-weight: bold;
margin-bottom:5em;
}
.invito{
font-size:1.5em;
font-weight: bold;
}
/*col sx*/
.leftmenu .colsx {
width:20%; /* larghezza colonna sinistra */
right:35%; /*(right column left and right padding) plus (left column left padding) */
margin: 0 auto;
text-align:center;
padding-top:1em;
background-color:rgb(240,96,255);
}
/*menu*/
/* Navigation */
.nav, .nav ul {
list-style: none;
margin: 0;
padding: 0;
}
.nav {
font-family: Arial, Helvetica, sans-serif;
width: 100%;
float: left;
clear: both;
margin: 0;
padding: 0;
z-index: 100;
position: relative;
background-color:rgb(255,255,255);
background-image:url(/immagini/nav.gif);
border:0;
}
.nav li {
float: right;
position:relative;
}
.nav a{
background-image:url(/immagini/subnav.png);
background-repeat: no-repeat;
background-position: center;
width:13em;
height:2em;
padding-top:3.7%;
}
.nav li a {
display: block;
text-decoration: none;
font-size:160%;
font-weight:bold;
font-family:fantasy;
color:rgb(255,0,240);
}
a.hover:hover {
display: block;
text-decoration: none;
font-size:160%;
font-weight:bold;
font-family:fantasy;
color:rgb(255,0,240);
background-image:url(/immagini/subnavhover.png);
}
.nav ul {
list-style: none;
margin: 0;
position: absolute;
top:-999em;/*non toccare impedisce la visualizzazzione fino al mouseover*/
right: -22%;
}
.nav li:hover ul, .nav li.sfHover ul {
top: 90%; /*Distanza del menu discendente dalla parte fissa dellla barra */
}
a.contattaci{
background-image:url(/immagini/contattaci.gif);
background-repeat: no-repeat;
background-position: center;
margin: 0.2em 0 0 0;
padding:0.5em 0 0 0;
}
a.lavostrafesta{
background-image:url(/immagini/la_vostra_festa.gif);
background-repeat: no-repeat;
background-position: center;
margin: 0.2em 0 0 0;
padding:0.5em 0 0 0;
}
a.home {
background-image:url(/immagini/home.gif);
background-repeat: no-repeat;
background-position: center;
margin: 0.2em 0 0 0;
padding:0.5em 0 0 0;
}
/*footer*/
div#footer {
clear: both;
text-align: center;
padding: 2em;
background-color: rgb(240,240,0);
color: #fff;
font-weight: bold;
text-decoration: none;
border: 0px;
font-size: 0.75em ;
margin:0 auto;
margin-bottom:0.4em;
}
div#footer img{
border:0;
float:left;
clear:both;
}
.piede {
border: 0px;
margin: 0;
padding: 10px 0;
text-align: center;
font-family:verdana;
font-size: 1.3em;
}
.sinistra_w3c {
float: left;
margin-left: 5px;
padding-top: 20px;
padding-bottom: 10px;
border: 0px;
}
.destra_w3c {
border: 0px;
float: right;
margin-right: 5px;
padding-top: 12px;
padding-bottom: 10px;
}
.videoaltervista {
float: right;
}
/*cazzate varie*/
.c1{
text-align: center;
}
.c2{
margin-left: 2em;
}
/*Visualizzazione commenti*/
/*esterno*/
.t1{
margin:0.4%;
padding:0.5%;
background:#FFFF4A;
border: 1px dashed #b0b0b0;
}
/*interno*/
.t11{
background:rgb(102,255,102);
border: 1px;
margin:0.5%;
padding:1%;
font-size:1.3em;
text-align:left;
}
.fieldset{
margin:2%;
vertical-align:middle;
}
/*form inserire commenti*/
.esterno {
background: #FFFF4A;
border: 1px dashed #b0b0b0;
color: #303030;
margin: 0.4%;
margin-bottom:2%;
padding: 1.2%;
}
form.messaggio {
padding: 5px 20px 5px 20px;
background: rgb(102,255,102);
border: 1px solid #ccc;
text-align:left;
font-size:1.3em;
}