2
Contributors
9
Replies
11
Views
6 Years
Discussion Span
Last Post by JamieLynnSEO
0

one of them was no doc type, and now that i added the html 4.0 transitional doctype, i have 3 errors... i uploaded a screen shot of the errors

Attachments untitled.JPG 124.93 KB
0

All doctypes support ALL html tags, however there are variances on how they're closed, where they are used, and whether they're all caps or not.

Can you post a live link to your site? Then I can see exactly what the errors are and maybe whats going on.

If you read the explaination of the error and possible reasons for the error, you can get some ideas about whats wrong.

Block level elements cant be placed inside inline elements.

Edited by teedoff: n/a

1

You have a doctype of 4.01 Transistional. Not sure then what you're asking. The only error on your page you linked above is that you didnt close the <center> tag with </center>

Which by the way is way out dated(deprecated) and shouldn't really be used. Along with your table based layout, but all that is another discussion.

If you add </center> right above the last </div> tag, the page validates.
The other page passes as well. So what are you asking/looking for??

Edited by teedoff: n/a

0

Well i was trying to figure out if i had used the correct doctype in the first place, which i guess i did. Thank you, lol

But the center tag needs to be closed.. i missed that completely.

(yeah, i know its all outdated, BUT it's the layout my boss created like 10 years ago, and he does not want to change it...he's very happy with it... so im working with what i've got to work with. lol)

Thank you veryyy much for your help. I appreciate it!

1

BUT it's the layout my boss created like 10 years ago, and he does not want to change it...he's very happy with it... so im working with what i've got to work with. lol)

Yes, I too face a similar dilema every day with regards to employers having outdated crazy page layout and website ideas.

Glad to help! Good luck.

btw, unless your going to be dealing with xml or MathXL, then HTML 4.01 should suffice for all your needs. More can be read here.

Votes + Comments
Thank you!
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.