Buonasera,
ho fatto un upgrade del mio sito web usando dei fogli di stile; finora non mi è capitato di inserire alcun link nel testo e sono soddisfatto. Provando però i classici tags <a href> ecc. non riesco a farli apparire come collegamenti ma mi viene fuori esattamente il testo scritto nel codice come se la sintassi fosse sbagliata. Curiosamente provando a far validare la pagina mi dice che è corretta.
Allego foglio di stile e url
/*
Studio1 CSS
Built by Me
--------------------
*/
/*please keep above info intact. Thanks! */
* {margin: 0; padding: 0;}
html {height: 100%; margin-bottom: 1px;}
body {height: 100%;}
/* Body Typeset
-------------------------- */
body {
font: 76%/1.5em "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif;
background:#000 url(back.gif);
background-repeat:repeat-x;
color: #666666;
}
h2, h3, h4, h5, h6, p, pre,
blockquote, ul, ol, dl, address {
margin: .5em 0;
padding: 0;
}
h2, h3, h4, h5, h6 {
font-family: "century gothic", arial, verdana;
letter-spacing: -1px;
padding-bottom: 3px;
border-bottom: 1px solid #ccc;
color:#CE6300;
font-weight:normal;
}
h2 { font-size: 164%; }
h3 { font-size: 145%; }
h4 { font-size: 118%; }
h5 { font-size: 100%; }
h6 { font-size: 86%; }
/* Layout
-------------------------- */
#container {
width: 701px;
padding-left: 0px;
padding-right: 0px;
margin: 0 auto;
background: black;
}
#header {
height: 100px;
background: url(top52.jpg);
height:328px;
color: #fff;
background-repeat:no-repeat;
/*border-bottom: 2px solid #cc0;*/
}
#header h1 {
border: 0;
font-family:georgia;
font-size:50px;
color: #fff;
margin-left:10px;
padding-left:20px;
padding-top:126px;
line-height:49px;
}
#header h2 {
border: 0;
font-family:georgia;
font-size:50px;
color: #fff;
margin-left:10px;
padding-left:30px;
padding-top:280px;
line-height:49px;
}
.indent {
margin-left:10px;
}
#content {
padding-left: 20px;
padding-right: 20px;
}
#footer {
width:701px;
clear: both;
position:relative;
margin-left:auto;
margin-right:auto;
text-align:center;
background: url(footer2nip.jpg);
color: #333;
height:76px;
font-size:10px;
padding-top: 84px;
background-repeat:no-repeat;
padding-bottom: 10px;
/*border-top: 2px solid #cc0;*/
line-height: 1.2em;
}
/* Links
-------------------------- */
a, a:link, a:active {
/* color: #333;*/
/* border-bottom: 1px solid #AE1010;*/
text-decoration: none;
}
a:hover {
color: #333;
/* border-bottom: 5px solid #333;*/
}
#header h1 a, #header h1 a:link, #header h1 a:visited {
border: 0;
color: #fff;
}
#header h2 a, #header h2 a:link, #header h2 a:visited {
border: 0;
color: #fff;
}
#footer a, #footer a:link, #footer a:active {
color: #333;
font-size:10px;
text-decoration: none;
}
#footer a:hover {
color: white;
border-bottom: 2px solid white;
}
/* style features
-------------------------- */
#mainmenu {
/*border-bottom: 2px solid #cc0;*/
font-family: "lucida grande", Arial, Helvetica, sans-serif;
font-weight:bold;
font-size: 85%;
width:701px;
padding-top: 5px;
padding-bottom: 5px;
background: #666666;
text-align: center;
}
#mainmenu ul {
margin: 0;
padding: 0;
}
#mainmenu li {
list-style: none;
margin: 0;
padding: 0;
display: inline;
}
#mainmenu li a {
padding: 7px 10px 7px 7px;
margin-bottom: 0;
border: 0;
color: #BFA573;
}
#mainmenu li a:hover {
background: transparent url(hover.jpg) top left;
color: #987B45;
/*border-bottom: 5px solid #cc0;*/
}
#mainmenu li.here a:hover {
background: transparent url(hover2.jpg) top right;
color:#987B45;
}
#mainmenu li.here a {
background: transparent url(hover2.jpg) top right;
color:#987B45;
}
/* style features
-------------------------- */
small {font-size: 11px;}
strong, b {font-family: "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif; font-size: .9em;}
.slogan {text-align: center;}
.success {color: #390;}
.error {color: #c00;}
.subdued {color: #666;}
.strike {color: #666; text-decoration:line-through;}
.highlight {background: #ffc; padding: 5px;}
.center {text-align: center;}
hr {margin: .5em 0;background:#eee;height:1px;color:#eee;border:non e;clear:both;}
/* Lists
-------------------------- */
ul, ol {
margin-left: 20px;
padding-top: 5px;
padding-bottom: 5px;
}
li {
padding-top: 3px;
padding-bottom: 3px;
}
.floatleft {
float: left;
margin: 0px 8px 2px 8px;
border: 2px solid gray;
padding: 2px;
}
.scrollbox {
font-family:"lucida grande";
padding-left:5px;
padding-top:39px;
}
.textfield {
color:#666666;
background-color:black;
font-family:verdana;
font-weight:normal;
font-size:10px;
border:none;
}
http://www.nipperstudio.net/podcast.html
GRAZIE

Rispondi quotando
