homepage Welcome to WebmasterWorld Guest from 54.204.107.48
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Html validation problems in Dreamweaver
how to ensure I set the right Doc Type...
Johnor

10+ Year Member



 
Msg#: 172 posted 4:16 pm on Nov 20, 2002 (gmt 0)

Hi

Anyone now how I ensure that whilst using a vendor's program(dreamweaver) to creatwebpages that all of the elements I use are Valid to the Doc Type for eg.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

When I Use a html validator to validate my code I am told that there is 'no attribute left margin'.

My basic grasp is that the software I am using is allowing me to insert code that is not part of the DOCTYPE that it generates.

Am I wrong?

How do fix this, have my html valid?

Any help very much appreciated.

Thanks Johnor

 

ukgimp

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 172 posted 4:44 pm on Nov 20, 2002 (gmt 0)

You can alter the default template so that it includes a doctype and I believe there is an extension on the echange that will include a doctype for you if you want to do it that way.

In some cases though you will simply have to not use things like leftmargin and do the same using CSS. Pain in the a## but what can you do.

Cheers

digitalghost

WebmasterWorld Senior Member digitalghost us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 172 posted 4:45 pm on Nov 20, 2002 (gmt 0)

Leftmargin is an IE/MS proprietary tag. It will NEVER validate. Have to break out the CSS. :)

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 172 posted 10:27 pm on Nov 20, 2002 (gmt 0)

Use the HTML validator [validator.w3.org] to help you correct tag and attribute typing errors, unclosed tags, missing information, and tag nesting errors. Don'y worry if you include a few browser specific tags and attributes in your code, unless you want to get into CSS.

Johnor

10+ Year Member



 
Msg#: 172 posted 10:01 am on Nov 21, 2002 (gmt 0)

Thanks a Lot Everyone

Cheers

; Johnor

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved