Zdravim,
robil som zadanie - vytvorenie web stranky, mala by byt validna - w3c
html je v poriadku ale v CSS mi stale vypisuje chybu:
Parse Error }
viete mi pomoct?
CSSko:
Kód:
/*----------Text Styles----------*/
.ws12 {font-size: 16px;font-family: 'Times New Roman'}
.ws12b {font-size: 16px;font-weight:bold;font-family: 'Times New Roman'}
.ws14 {font-size: 19px;font-family: 'Times New Roman'}
.ws14b {font-size: 19px;font-weight:bold;font-family: 'Times New Roman'}
/*----------Para Styles----------*/
DIV,UL,OL /* Left */
{
margin-top: 0px;
margin-bottom: 0px;
}
/*-----------Link Styles--------*/
a.style1:link{color:#FFFFFF;text-decoration: underline;font-weight:bold}
a.style1:visited{color:#FFFFFF;text-decoration: underline;font-weight:bold}
a.style1:hover{color:#FFFFFF;text-decoration: none;font-weight:bold}
a.style1:active{color:#FFFFFF;text-decoration: none;font-weight:bold}
a.style2:link{color:#000000;text-decoration: underline;font-weight:bold}
a.style2:visited{color:#000000;text-decoration: underline;font-weight:bold}
a.style2:hover{color:#000000;text-decoration: none;font-weight:bold}
a.style2:active{color:#000000;text-decoration: none;font-weight:bold}
/*-----------Images--------*/
div#container
{
position:relative;
width: 788px;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
text-align:left;
}
body {text-align:center;margin:0;}
}
#head1 {
position:absolute;
overflow:hidden;
left:0px;
top:0px;
width:370px;
height:333px;
}
#head2 {
position:absolute;
overflow:hidden;
left:370px;
top:0px;
width:389px;
height:181px;
}
/*-----------Textposition--------*/
#text1_home {
position:absolute;
overflow:hidden;
left:33px;
top:150px;
}
#text2_forms {
position:absolute;
overflow:hidden;
left:108px;
top:150px;
}
#text3_text {
position:absolute;
overflow:hidden;
left:193px;
top:150px;
}
#text4_text {
position:absolute;
overflow:hidden;
left:268px;
top:150px;
}
Vopred dakujem za odpoved