Ciao a tutti,
vorrei rispettare i dettami dell'accessibilità facendo apparire prima i contenuti della barra laterale di navigazione, non ci sto capendo nulla, mi appello alle vostre conoscenze.
i collegamenti inseriti nel forum sono relativi a siti in lingua inglese.....ed io sono obsoleto :-/
Incollo il codice HTML ed il CSS dl sito (spero di non infastidire con la lunghezza)
Codice sorgente HTML (con tagli per non appesantirvi):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Roma in camper:Roma itinerari turistici</title>
<link href="roma.css" rel="stylesheet" type="text/css" />
<style type="text/css"></style>
</head>
<body>
<div id="masthead">
[img]immagini/RIC.gif[/img]
<div id="menu">
<ul id="nav">[*]Home[*]Soste
<li id="active">Itinerari[*]Trasporti[*]Photo[*] Guestbook [*] Forum [*] Link [*] Eventi [*] [img]immagini/belgium31.gif[/img] [*] [img]immagini/france31.gif[/img] [*] [img]immagini/germany31.gif[/img]
<li id="lingua"> [img]immagini/italia.gif[/img] [/list]
</div>
</div>
<div id="navBar">
<div id="sectionLinks">
<ul id="sectionlinks">[*]Mordi e fuggi[*]Colosseo[*]Fori e Palatino[*]Domus aurea [*]Bocca della Verità [*] Appia antica [*] Da Piazza Navona [*] Dall'Aventino [*] Dal Celio [*] Gianicolo e Trastevere [*] Musei vaticani [*] Antiche Terme [*] Ciclabili [*] Musei [*] Ostia antica [/list]
</p>
</div>
</div>
<div id="page">
<h1>indice itinerari</h1>
</div>
<div class="content">
<div class="textimage">
++++++CUT-CUT-CUT++++++
</div>
<div id="footer">
+++++CUT++++++
</div>
</body>
</html>
---------------------------------------
il CSS relativo (ho tagliato qualcosa anche qui):
body {
text-align : left;
width : 760px;
text-align : left;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 90%;
color : #ffff99;
border : thin solid #ffff99;
background-color : #660000;
padding : 3px;
margin-top : 0;
margin-right : auto;
margin-bottom : 0;
margin-left : auto;
text-decoration : none;
}
div#container {
position : relative;
font-family : Verdana, Arial, Helvetica, sans-serif;
}
div#menu {
text-align : center;
width : 760px;
margin : 0 auto;
text-align : left;
background-image : url(immagini/menu_b.gif);
font-size : 80%;
border-top-width : 1px;
border-top-style : solid;
border-top-color : #ffff99;
vertical-align : baseline;
}
div#content {
margin-right : 200px;
color : #ffff99;
font-family : Verdana, Arial, Helvetica, sans-serif;
padding-top : 5px;
padding-right : 5px;
padding-bottom : 5px;
padding-left : 5px;
background-color : #660000;
display:block;
}
div#content a:link {
text-decoration : underline;
}
div#page {
padding : 5px;
margin-right : auto;
margin-bottom : 0;
margin-left : auto;
color : #ff9900;
}
div#masthead {
text-align : center;
width : 760px;
}
div#footer {
clear : both;
border : 1px solid #ffff99;
font-size : 75%;
color : #cccccc;
padding : 5px 5px 5px 5px;
}
a {
color : #ffff99;
text-decoration : none;
}
a:link {
color : #ffff99;
text-decoration : none;
}
a:visited {
color : #ffff00;
text-decoration : none;
}
a:active {
color : #660000;
background-color : #ffcc66;
text-decoration : none;
}
h1 {
font-family : Verdana, Arial, sans-serif;
font-size : 120%;
color : #ffff66;
margin : 0;
padding : 0;
}
h2 {
font-family : Arial, sans-serif;
font-size : 114%;
color : #ffcc66;
margin : 0;
padding : 0;
}
h3 {
font-family : Arial, sans-serif;
font-size : 80%;
color : #ffcc33;
margin : 0;
padding : 0;
}
h4 {
font-family : Arial, sans-serif;
font-size : 100%;
font-weight : normal;
color : #ff9900;
margin : 0;
padding : 0;
}
h5 {
font-family : Verdana, Arial, sans-serif;
font-size : 100%;
color : #ff99ff;
margin : 0;
padding : 0;
}
ul#nav {
float : left;
width : 100%;
list-style : none;
margin : 0;
padding : 0;
background-image : url(immagini/menu_b.gif);
border-top-width : 0;
border-right-width : 0;
border-bottom-width : 0;
border-left-width : 0;
}
ul#nav li {
float : left;
background : url(tab.png) no-repeat top left;
margin-top : 0;
margin-right : 0.2em;
margin-bottom : 0;
margin-left : 0.2em;
padding-top : 0;
padding-right : 0;
padding-bottom : 0;
padding-left : 6px;
}
ul#nav a {
float : left;
padding : 0.4em 8px 0.4em 0;
background : url(tab.png) no-repeat top right;
text-decoration : none;
}
ul#nav a:hover {
color : #ffff00;
}
ul#nav li#active {
background : url(tab2.png) no-repeat top left;
}
ul#nav li#active a {
background : url(tab2.png) no-repeat top right;
color : #660000;
}ul#nav li#lingua {
background : url(tab2.png) no-repeat top left;
}
ul#nav li#lingua a {
background : url(tab2.png) no-repeat top right;
color : #660000;
}
ul ul {
list-style-type : none;
}
ul ul ul {
list-style-type : none;
}
label {
font-family : Arial, sans-serif;
font-size : 100%;
font-weight : bold;
color : #ffffcc;
}
div.textimage {
width : 560px;
margin-bottom : 10px;
border : 1px solid #ff6600;
font-size : 80%;
padding-left : 3px;
padding-right : 3px;
color : #ffff99;
padding-top : 10px;
}
div.textimage img {
float : left;
margin : 10px;
}
div.textimage a:link {
text-decoration : underline;
}
div.textimage h2 {
margin-top : 10px;
}
div.clearer {
clear : left;
}
#menu div {
text-align : center;
width : 760px;
font-size : 90%;
background-image : url(immagini/menu_b.gif);
text-align : center;
height : 25px;
vertical-align : bottom;
border-bottom-width : 1px;
border-bottom-style : solid;
border-bottom-color : #ffff99;
}
#page {
text-align : center;
padding-top : 3px;
margin-top : 2px;
color : #ff9900;
}
#navBar {
float : right;
width : 180px;
margin : 0;
border-top-width : 0;
border-bottom-width : 0;
border-left-width : 0;
font-size : 12px;
padding : 0;
text-align : left;
border-right-width : 0;
}
html > body #navBar li {
border-bottom : none;
}
#sectionLinks {
margin : 0;
padding : 0;
width : 100%;
font-size : 100%;
color : #ffff99;
cursor : help;
border: 0;
border-style : solid;
}
#sectionLinks a {
display : block;
text-decoration : none;
height : 20px;
padding : 2px 0 2px 2px;
border-top-width : 1px;
border-top-style : solid;
border-top-color : #f75900;
}
#sectionLinks a:hover {
color : #ffff00;
}
#sectionLinks a:active {
background-color : #ffcc66;
color : #660000;
}
#sectionLinks ul {
padding : 0;
margin : 0;
list-style-type : none;
}
#sectionLinks li {
padding : 2px;
height : 36px;
margin : 2px;
background-image : url(lat.png);
list-style-type : none;
}
#sectionLinks li#active {
background-color : #ffcc66;
color : #660000;
background-image : url(lat2.png);
}
#sectionLinks li#active a {
background-color : #ffcc66;
color : #660000;
}
+++++CUT+++++

Rispondi quotando