CSS and Xhtml

They have: 3 posts

Joined: Sep 2005

I have just finished a new design for my web site and for the first time i am using css and xhtml. I also for the first time want to validate it but am having a problem with the xhtml for the hell of me I cant figure out how to get these 7 errors to go away:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.movie-gurus.com%2Ftest%2F2%2F&charset=%28detect+automatically%29&doctype=Inline
any help would be greatly appreciated on what to do with them. also if you see anything that maybe could be done in a simpler way please let me know
thank you
David
movie-gurus.com/test/2/

Busy's picture

He has: 6,151 posts

Joined: May 2001

error 1 - you have the table in between the tags
error 2 - same problem
error 3 - form is in between tags
error 4 - button is a reserved word as it is an html list element
error 5 - inside tags
error 6 - reserved word again
error 7 warning - use & instead of &
error 8 - between tags

as for simpler, you could do things like your read reviews in a list, don't make your page as wide (big scroll at 800x600), anything else becomes a critque and should be requested in that section.

They have: 3 posts

Joined: Sep 2005

thanks for the info. 1 problem though the way i coded it is if i remove the tag then the img that goes behind the table is gone. is there anyway you can think to get around it?

He has: 388 posts

Joined: Apr 2005

Put it in a div. and set the z-index to two

They have: 3 posts

Joined: Sep 2005

what is the z-index?
also when i change button to roll it still comes up.

i dont understand.
again thanks for helping

02bunced's picture

He has: 412 posts

Joined: May 2005

as z-index is how far away from a canvas and object is. Think of it as Word's "Bring to front" tool!

He has: 388 posts

Joined: Apr 2005

just put this in your css

div{
position: absolute; Relative can also be used here
z-index: 2;
}

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.