[TYPO3-UG Italy] templavoila e proprie pagine

Kingster46 kingster46 at libero.it
Fri Jan 16 19:18:27 CET 2009


scusate, ho visto che non si possono inserire allegati, provo a aggiungerli qui: 
file HTM
grazie
Cesare
<?xml version="1.0" encoding="iso-8859-1"?>

<?xml-stylesheet href="#internalStyle" type="text/css"?>

<!DOCTYPE html 

PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>

<title>Base template, header, menu, content and footer.</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

<style type="text/css" id="internalStyle">

/*<![CDATA[*/

BODY { margin: 01 0 0 50; background-color: white; }

/*]]>*/

</style>

<link href="res/stylesheet.css" rel="stylesheet" type="text/css" />

</head>

<body>

<table border="0" cellpadding="0" cellspacing="0">

<!-- Header image row: -->

<tr>

<td id="header_1""header_2""header_3"> 

<td id="header_1"><img src="images/t1.jpg" width="154" height="267" alt="" border="0" >

<td id="header_2"><img src="images/t2.jpg" width="180" height="267" alt="" border="0" >

<td id="header_3"><img src="images/t3.jpg" width="444" height="267" alt="" border="0" >

</td>

</tr>

</body>

<body>

<table border="0" cellpadding="0" cellspacing="0" margin: top> 

<!-- Menu table cell: -->

<tr>

<td id="menu_1">

<div class="menu1-level1-no"><a href="#">Menu item 1</a></div>

<div class="menu1-level1-no"><a href="#">Menu item 2</a></div>

<div class="menu1-level1-act"><a href="#">Menu item 3 (act)</a></div>

<div class="menu1-level2-no"><a href="#">Level 2 item</a></div>

<div class="menu1-level2-no"><a href="#">Level 2 item</a></div>

<div class="menu1-level2-act"><a href="#">Level 2 item (act)</a></div>

<div class="menu1-level1-no"><a href="#">Menu item 2</a></div>


</tr>



<!-- Content row: -->

<td id="content"><img src="images/sfondomenudx.gif" width="529" height="200" alt="" border="0" /></td>

</td> 

</tr>

<!-- Footer row: -->

<tr>


<td colspan="2 id="footer"><img src="images/sotto.gif" align=top width="778" height="77" alt="" border="0"/></td>


</tr>

</table>

</body>

</html>

File css///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

/* GENERAL fonts */

P, OL, UL, DIV, H1, H2 {

font-family: verdana, arial;

font-size: 11px;

}

H1 { font-size: 15px; }

H2 { font-size: 13px; }

P, H1, H2 {margin: 0px 0px 0px 0px;}

/* footer */

TD#footer {border-top: dotted 1px #999999;}

TD#footer {

background-image: url(../images/sotto.gif);

background-repeat : no-repeat;

font-size: 10px;

text-align: center;

}

/* header_2 */

TD#header_2 {

background-image: url(../images/t2.jpg);

background-repeat : no-repeat;

}

/* header_3 */

TD#header_3 {

background-image: url(../images/t3.jpg);

background-repeat : no-repeat;

}

/* Content column */

TD#content {

padding-left: 0px;

padding-right: 0px;

padding-top: 0px;

vertical-align: top; 

width: 380px;

background-image: url(../images/sfondomenudx.gif);

background-repeat : no-repeat;

}

/* Menu 1 column */

TD#menu_1 { 

vertical-align: top; 

width: 249px; 

background-image: url(../images/sfondomenusx.gif);

background-repeat : no-repeat;

padding-top: 120px;

}

TD#menu_1 DIV {

width: 95%;

}

TD#menu_1 DIV A {

color: navy;

text-decoration: none;

}

TD#menu_1 DIV A:hover {

text-decoration: underline;

}

/* MENU 1, level 1, normal state (NO) */

TD#menu_1 DIV.menu1-level1-no {

border-bottom: 1px dotted #999999;

font-size: 11px;

padding-top:5px;

padding-left:5px;

}

/* MENU 1, level 1, active state (ACT) */

TD#menu_1 DIV.menu1-level1-act {

border-bottom: 1px solid #999999;

font-weight:bold;

font-size: 11px;

padding-top:5px;

padding-left:5px;

background-color: #eeeeee;

filter:alpha(opacity='70', style='0');

}

TD#menu_1 DIV.menu1-level1-act A {

color:black;

}

/* MENU 1, level 2, normal state (NO) */

TD#menu_1 DIV.menu1-level2-no {

font-size: 10px;

padding-left:20px;

}

/* MENU 1, level 2, active state (ACT) */

TD#menu_1 DIV.menu1-level2-act {

font-size: 10px;

font-weight:bold;

padding-left:20px;

}











/* MENU 2, level 1, general for all table cells: */

TR#menu_2 TD {

background-color: #333366;

width: 10%;

text-align: center;

padding: 0px 2px 0px 2px;

}

TR#menu_2 TD A {

color: white;

font-size: 10px;

font-family: verdana, arial;

text-decoration: none;

}

TR#menu_2 TD A:hover {

text-decoration: underline;

}

TR#menu_2 TD.oddcell {

background-color: #666699;

}

TR#menu_2 TD.menu2-level1-act {

background-color: #88292A;

}





/* Style for the Path-menu: */

TD#path {

white-space: nowrap;

background-color: #F8F8EC;

font-family: verdana, arial;

font-size: 11px;

font-style: italic;

font-weight: bold;

padding: 1px 1px 5px 5px;

}

TD#path A {

text-decoration: none;

color:black;

}

TD#path A:hover {

text-decoration: underline;

}


More information about the TYPO3-UG-italy mailing list