doctype

Using Doctype in Nhibernate

Hi I am trying to keep common properties of base class in one location and use XML ENTITY to refer in Nhibernate mapping file. Mapping file <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE hibernate-mapping [ <!ENTITY BasePropertyList SYSTEM "BasePropertyList.xml"> ]> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="M...

Wordpress !Doctype Halting up my flash liquid layout.

Hello. I'm building wordpress blog themed in flash and I've already run into one problem. this doctype: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; Will not let me scale my .swf to 100% width and 100% height. Width is fine, but the height is not. my c...

what doctype should I use for a mobile website?

I'm creating a mobile version of my website from scratch, but I'm unsure what doctype I should use. There does not seem to be a clear standard is that true? On many mobile sites I see : <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd"&gt; On others I find : ...

How to add doctype with ID attribute to the XML file in java?

Hi, I am dynamically creating a DOM object and need to add following doctype to the XML file in java: <!DOCTYPE MyXml [<!ATTLIST node id ID #REQUIRED>]> I am using org.w3c.dom, is there any way we can do this? Regards, Abhishek ...

What is Quirks Mode categorized under Document Mode and how to Change it ?

I saw my pages information in IE8 Developer Tools. My Page Document Mode was Quirks Mode. What is Quirks Mode ? and How To change Document Mode ? What are the others document modes ? How can Document Mode affect the Page. ...

css not work without DOCTYPE !

Is there a way that without DOCTYPE tag all css are working ? ...

DOCTYPE tag problem

is it possible to use DOCTYPE tag in line 2 or 3 or ... and css works good ? (not line 1) tag : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; ...

Choosing a W3C valid DOCTYPE and charset combination?

I have a homepage with the following: <DOCTYPE html> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> My choice of the DOCTYPE "html" is based on a recommendation for html pages using jQuery. My choice of charset=utf=8 is based on a recommendation to make my pages readable on most browsers. But these choices may ...

What are reasons not to use doctypes in 2010?

I have just been involved in writing an application that does not use Doctype's on the jsp's. It has become increasingly difficult to fix html errors on different browsers because of this. I have done some research and understand what is going on and how to fix it, but that is not my question. I have noticed that Amazon.com and Cat.co...

Is there an alternative to lightbox / fancy box / slimbox that does not require a doctype declaration?

Hi, I am forced to work within a rubbish IDE that creates survey webpages, therefore I cannot control the doctype of the pages (it's not a great piece of software, in fact I hate it but have no choice, and it adheres to no standard doctype, it adheres to no standard anything!). I want to produce a pretty popup on my pages, but cannot u...

Cant find appropriate doctype, only seems to work in quirks mode

For some reason my web page seems to work fine without a doctype, but doesnt if I specify any in full. I have gone through various different templates without any success, i.e. code validators then dont like my code and/or it doesnt work. The only thing "I get away with" is the top line below, but even then I cant specify any details, ...

HREF to a .doc file works... an HREF to a .docx does not

Strange... When i create an HREF to a .doc, the browser behaves correctly and onclick allows the user to download the file. If I have an HREF to a .docx, it doesn't prompt to the user to download the file but shows a "The page cannot be found" error page at the url of the file. Any ideas? ...

Force Quirks mode with Doctype

I have a page which needs to be rendered in Quirks mode for the page to be loaded properly. The problem is that the page uses valid XHTML and thus has a doctype. This forces the page to render in Standards mode in all browsers. Is there any workaround/hack that can force Quirks mode eventhough I have a doctype? ...

How can I force a SAX parser to use a DTD if one is not specified in the input file?

How can I force a SAX parser (specifically, Xerces in Java) to use a DTD when parsing a document without having any doctype in the input document? Is this even possible? Here are some more details of my scenario: We have a bunch of XML documents that conform to the same DTD that are generated by multiple different systems (none of whi...

Is the "data" attribute a standard attribute of the XHTML Strict Doctype?

Can't find this info ... looks like its HTML-5ish ...

Can the rel= attribute contain any string characters and still validate?

I'm wondering because I want to store something other than pre-defined keywords that are typically assigned to rel... and I just wanted to know if this is valid XHTML Strict or not. ...

IE8 doctype changing

I am currently using an XHTML 1.0 transitional doctype on my vBulletin website. The page in question is PHP. The source (view source) of this page verifies that the XHTML 1.0 transitional doctype is on the page. Upon downloading (File > Save As) the page in IE8, I realized that my doctype had been replaced with an HTML 4.0 transitiona...

Going to IE8 with DOCTYPE HTML 4.01 Transitional any suggestions appreciated.

Hello, we use in all our pages in the 1st line of our HTML code the: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; We are moving on to the new IE8 and we would like to keep the DOCTYPE unchanged, is there any suggestions/warnings we better be aware of? I mean like: "Be caref...

Which doctype should I use for GWT 2.0?

I think I should use <!DOCTYPE html> for my new GWT application; I understand that doing so will put my application into standards-compliant mode. Am I correct? Are there any disadvantages to using this doctype? Does GWT work properly in standards-compliant mode? I'm wary because the GWT tutorial still uses the HTML 4.01 transitional doc...

doctype syntax error

Do you see any problem with this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; I'm in ASP.net and I'm using pikachoose jquery slideshow. It works fine in IE and was working in Firefox. However, somehow it's now stopped working in firefox and firebug is giv...