Vai ai contenuti
Ti trovi in:   Home > CSS Layout > Layout n.01/L

CSS Layout - CSS Template

CSS Layout fluido (liquido)

Layout n.01/L - Source XHTML e CSS

Layout fluido (liquido) con larghezza dimensionata in percentuale (%) e con menu verticale.
Il menu verticale usato descritto al punto n.01/V nella sezione Css Menu.
L'immagine utilizzata nell'header proviene dalla raccolta Foto Desktop presente in questo sito.

Layout fluido (liquido) n.01/L

XHTML:

<!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" xml:lang="it" lang="it">
<head>
<title>Layout fisso n.01/F</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<link href="default01l.css" rel="stylesheet" type="text/css" title="default" />
</head>

<body>

<div id="struttura">

<div id="header"><br />
	<h1>css template .com</h1>
</div>

<div id="menu01v">
 <ul>
  <li><a href="#">Link 1</a></li>
  <li><a href="#">Link 2</a></li>
  <li><a href="#">Link 3</a></li>
  <li><a href="#">Link 4</a></li>
  <li><a href="#">Link 5</a></li>
 </ul>
</div>

<div id="content">
	<h1>CSS LAYOUT FLUIDO (LIQUIDO) N.1/L</h1>
	<h2>1.PARAGRAFO</h2>
	
	<p>
	Lorem ipsum dolor sit amet, consectetuer adipiscing elit.  ...
	</p>
	
	<h2>2.PARAGRAFO</h2>
	
	<p>
	Vivamus mattis nisi id pede. Nunc rhoncus mauris quis  ...
	</p>
	
	<h2>3.PARAGRAFO</h2>
	
	<p>
	Sed mollis dolor nec est. Integer iaculis nonummy lorem.  ...
	</p>

</div>

<div id="footer">This Page Is Valid XHTML 1.0 Strict and Valid CSS v.2
<br />No tables have been used to make this layout<br />
</div>

</div>

</body>
</html>	
						  
						  

CSS (default01l.css):

body
{
	background-color: #fff;
	color: #000;
	font-family: arial, helvetica, verdana, tahoma, sans-serif;
	font-size: 80%;
	margin: 0em;
	padding: 0em;
}
#struttura
{
	background-color: #fff;
	color: #000;
	line-height: 180%;
	margin: 0em;
	padding: 0em;
	text-align: left;
	width: 100%;
}
#header
{
	background-color: #DEF2FC;
	background-image: url(img02.jpg);
	background-position: right bottom;
	background-repeat: no-repeat;
	border: 1px solid #000;
	border-bottom: 1px;
	border-left: 0;
	border-right: 0;
	border-top: 0;
	color: #420702;
	font: normal 280% Georgia, "Times New Roman", Times, serif;
	height: 148px;
	padding-left: 0.6em;
}
#menu01v
{
	float: left;
	font: 90% Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	width: 16%;
}
#menu01v ul
{
	list-style: none;
	margin: 0;
	padding: 0;
}
#menu01v li
{
	display: inline;
	font-size: 1.1em;
	margin: 0;
	padding: 0;
}
#menu01v a:link, #menu01v a:visited
{
	background: #420702;
	border: 1px solid #666;
	color: #fff;
	display: block;
	margin: 0.06em 0;
	padding: 0.3em 0.6em;
	text-decoration: none;
}
#menu01v a:hover, #menu01v a:focus, #menu01v a:active
{
	background: #E0CAB0;
	border-color: #41545F;
	color: #000;
	padding-left: 0.95em;
	text-transform: uppercase;
	font-weight: bold;
}
#content
{
	background: #fff;
	border-left: 1px solid #000;
	color: #000;
	margin-left: 16%;
	padding: 1.25em 0.8em;
	padding: 0.625em;
}
#content p
{
	font-size: 100%;
	line-height: 1.8em;
	padding-left: 1em;
	padding-right: 1em;
}
#content h1
{
	background-color: #FFFFFF;
	color: #05181E;
	font: normal 180% Georgia, "Times New Roman", Times, serif;
	padding-bottom: 0.3em;
	padding-top: 0.3em;
}
#content h2
{
	background: #fff;
	border-bottom: 1px dotted #FF9006;
	color: #940D1E;
	font: normal 150% Georgia, "Times New Roman", Times, serif;
	padding-bottom: 0.3em;
}
#content a:link, #content a:visited
{
	background-color: #fff;
	color: #41545F;
	font-size: 95%;
	font-weight: normal;
	text-decoration: underline;
}
#content a:hover
{
	background-color: #420702;
	color: #fff;
	text-decoration: none;
}
#footer
{
	background: #420702;
	border: 1px solid #000;
	border-bottom: 1px;
	border-left: 0;
	border-right: 0;
	border-top: 1px;
	color: #fff;
	font-family: helvetica, arial, verdana, tahoma, sans-serif;
	font-size: 80%;
	margin: 0 auto;
	padding: 0.8em 0.8em;
	text-align: center;
}
#footer a:link, #footer a:visited
{
	background-color: #420702;
	color: #fff;
	text-decoration: underline;
}
#footer a:hover
{
	background-color: #fff;
	color: #420702;
	text-decoration: none;
}

JPEG:

immagine sfondo header
img02.jpg (background-image: url(img02.jpg);)

Artwork & Design Copyright 2000-     Ivano Montanari    Verona - Italy

Mappa del sito | Privacy | Informativa cookie | Accessibilità | Accesskey | Contattami

W3C Valid XHTML 1.0 Strict W3C Valid CSS ver.2 W3C-WAI Web Content Accessibility Guidelines 1.0 Level Triple-A conformance Layout senza tabelle