FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

help explaining error messsage from CSS validator

 


TRANScend
What does this error message that I got from W3's CSS validator mean???

Quote:

Errors

URI : http://transcend.frih.net/rr/enter_site.html

Line: 45 Context : img.imagemap
Property postion doesn't exist : absolute

Valid CSS information

body {
background : url(http://photobucket.com/albums/c187/TRANScend5c/black_tiles.jpg) repeat fixed center center;
}
img.imagemap {
position : relative;
left : 25%;
right : 25%;
top : 150px;
}
p {
position : absolute;
left : 15px;
top : 85%;
}


I'm not sure I understand their error message... help?
Marston
I don't think an image can have an absolute position - only <div> tags.
dkbg
First of all, positioning applies to all elements (be it absolute or relative).

The CSS error is simple, in your img.imagemap rules, you have a declaration of "postion:absolute" (notice the missing "i" in position), which throws an error. Defining a left and a right value for your relative position is pointless, as well.
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Design Tips

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.