PDA

View Full Version : Why won't this validate? :( +rep



Pawf
12-05-2007, 04:07 PM
The errors I get are:


Error Line 1 column 0: character "b" not allowed in prolog.
body {background-image: url('eg.gif'); background-repeat: no-repeat; background-
?

Error Line 7 column 0: character "a" not allowed in prolog.
a:link {font: italic bold 10pt 'Trebuchet MS';letter-spacing: 1px;margin-bottom:
?

Error Line 11 column 0: character "a" not allowed in prolog.
a:hover, active {font: italic bold 10pt 'Trebuchet MS'; letter-spacing: 1px; mar
?

Error Line 19 column 0: character "#" not allowed in prolog.
#top {
?

Error Line 35 column 1: character "}" not allowed in prolog.
}
?

Error Line 35 column 2: end of document in prolog.
}

for:


body {background-image: url('eg.gif'); background-repeat: no-repeat; background-position: top right;}

p {font: italic bold 10pt 'Trebuchet MS'; margin-top: 0px;}

h3 {font: italic bold 14pt 'Trebuchet MS'; letter-spacing: 1px; margin-bottom: 0px; color: #000000;}

a:link {font: italic bold 10pt 'Trebuchet MS';letter-spacing: 1px;margin-bottom: 0px;color: #000000; text-decoration: none;}

a:visited {font: italic bold 10pt 'Trebuchet MS'; letter-spacing: 1px; margin-bottom: 0px; color: #000000; text-decoration: none;}

a:hover, active {font: italic bold 10pt 'Trebuchet MS'; letter-spacing: 1px; margin-bottom: 0px; color: #000000; text-decoration: overline underline;}

#container {
height: 1px;
width: 1px;
background: url('eg.gif') no-repeat top right;
}

#top {
height: 1px;
width: 1px;
background: url('eg.gif') no-repeat top right;
}

#content {
width: 1px;
background: url('eg.gif') no-repeat top right;
text-align: justify;
}

#bottom {
height: 1px;
width: 1px;
background: url('eg.gif') no-repeat top right;
}

Pawf
12-05-2007, 04:26 PM
Never mind, worked it out. Mod please lock :)

Florx
12-05-2007, 07:24 PM
Good luck with whatever it is you are doing

Want to hide these adverts? Register an account for free!