Welcome Guest!
Please login
If you do not have an account yet on The Web Squeeze forums, please Register! It’s FREE and there are many benefits:
- Receive Fast Advice
- Learn Programming Languages
- Get Professional Website Reviews
- Quick Troubleshooting Assistance
Doctype Confusion
This is a discussion on Doctype Confusion, within the HTML/XHTML section. This forum and the thread "Doctype Confusion" are both part of the Designing Your Website category.
![]() ![]() |
Mar 10 2008, 03:02 AM
Post
#1
|
|
|
New Squeeze ![]() Group: Members Posts: 8 Joined: 14-February 08 Member No.: 58 |
I have tried both transitional and strict doctypes for my site. But I get errors for either doctype.
Which one should I use for my type of site (embedded Quicktime, height references, margin references etc)? -------------------- Gribble
www.emotiondigital.co.nz |
|
|
Mar 10 2008, 03:14 AM
Post
#2
|
|
|
Master of the Universe ![]() ![]() ![]() ![]() ![]() ![]() Group: Mentor Posts: 1,094 Joined: 15-February 08 From: London, England Member No.: 141 |
Could you show us the errors?
What are you using to embed the Quicktime? -------------------- |
|
|
Mar 10 2008, 04:11 AM
Post
#3
|
|
![]() ASP Advisor ![]() ![]() ![]() ![]() ![]() Group: Advisors Posts: 669 Joined: 13-February 08 From: Borneo Member No.: 8 |
I am using HTML Strict 4.01 and no problem ever since!
Anyway, I am not sure if the doctype has anything to do with the embedding QT file? I think it's just some code error. Post in your complete HTML code here as already requested by Jason -------------------- Monieweb.com - So much to learn, so little time!
QUOTE The brain is a wonderful organ. It starts working the moment you get up in the morning, and does not stop until you get into the office! |
|
|
Mar 10 2008, 06:06 AM
Post
#4
|
|
|
New Squeeze ![]() Group: Members Posts: 8 Joined: 14-February 08 Member No.: 58 |
Attached is the error report from w3.
I used a mixture of handcoding, cut n paste off the net and GoLive (boo, hiss!)
Attached File(s)
-------------------- Gribble
www.emotiondigital.co.nz |
|
|
Mar 10 2008, 06:15 AM
Post
#5
|
|
![]() Squeeze Machine ![]() ![]() ![]() ![]() ![]() Group: Team Leaders Posts: 568 Joined: 13-February 08 From: Catching the squeezed drips downunder. Member No.: 13 |
The first couple of errors you have there are just simple mistakes.
<script language="javascript"> Should just be <script type="javascript"> the language attribute is now considered legacy so really isn't required. The height attribute should be set via CSS and not the way you have done... eg style="height: 100%" for the first error and there is no height attribute at all for the <TR> tag. You should set the height of the <TD> elements instead -- and you preferably you should use CSS for that also. The remaining errors are all part and parcel of including flash movies embedded into a web page. The only way to stop the validation errors is to write it to the page with javascript but this doesn't get rid of the errors, it just hides them from the validator which is useless really. If you want to embed flash you will have to grin and bear the errors -- at least until HTML 5 is released and accepted as a standard recommendation. -------------------- Bright Idea? -- Don't Let it disappear
|
|
|
Mar 10 2008, 02:45 PM
Post
#6
|
|
![]() Rapid Squeezer ![]() ![]() ![]() ![]() Group: Members Posts: 173 Joined: 19-February 08 From: Netherlands Member No.: 172 |
If you want to embed flash you will have to grin and bear the errors -- at least until HTML 5 is released and accepted as a standard recommendation. edit: Now that i posted it, i start doubting if what i used back then wasn't some kind of (media)player object, instead of flash. So, you can google, but i'm not quite sure if you'll find anything This post has been edited by velo: Mar 10 2008, 02:47 PM -------------------- fresh-style.nl - small webdesign & development projects |
|
|
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
![]() ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:






Mar 10 2008, 03:02 AM







