FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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.
Related topics
Help: SQL error after uploading new files(thread updated)
Firefox does not like my webpage...
external css stylesheet ?
Let W3C Validate Your website
Is CSS a replacement of tables or assisting method of them ?
Doctor HTML - analyse your page
help desktop error.
Help with footer on page
Need help with site getting error on http://validator.w3.org
Yabb problem
Help wanted with CSS and iframes It works
[help]fatal error eso dice mi web
Joomla CSS Help Just like any CSS Help
Help me design this footer in css (for IE)
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Design Tips

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