doctype

content of page pushed WAAYY over in IE, but only when the css position is absolute...

okay, so if you go to the website that I've been working on: http://www.charmscorp.com/inspect/projects.php in firefox, the site looks how it's supposed to (don't mind the slow load up time, it's a server issue). You will have to wait a few seconds for the content to fully load. If you rollover the tabs, it all works fine in IE8, the ...

AJAX problems in WebKit browsers

Hi. I'm developing an AJAX site. So the problem is browsers (Safari, Chrome) do not show spaces in AJAX-loaded HTML content after tags like Strong, Em etc. Then I added a doctype to the AJAX output. Everything was fine, there were all spaces, unless I tested the site in WebKit browsers. When I loaded the page in Safari, I got error: ...

Does Jquery work well in quirks mode?

For reasons beyond my control, the site works in quirks mode. Will Jquery help me in this situation? I expect the jquery developers concentrate on strict mode today - the mode of the future. On the other hand, all those libraries once started to ease the pain of working in quirks mode. ...

IE8 Borders & Padding - Not rendering like IE7 and other browsers.

IE8 not rendering padding & borders properly when doctype is ste to strict. Any suggestions? With doctype set to loose, the borders and padding are okay, but other bigger problems beyond CSS appear, so we're sticking w/ strict. Any suggestions on where to start to resolve border & padding style discrepancies? ...

Will Firefox do XSLT on external entities?

What I'm trying to do is take an XML document, let's say http://example.org/data.xml and show it with an XSL stylesheet applied. (I cannot modify the document itself and add a directive) So there are a couple of utility XML files like this: wrapper.xml: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE wrapper [ <!ENTITY content SY...

help needed with doctype

Hello! I'm having trouble with a test site's design. When I'm opening my html page with IE, without my doctype line, it renders just the way I like it, but not in FF (because of the way it interprets padding, among other things). When I add the doctype line, the page gets squeezed to a height of about 230px. My intention is to set the h...

How to avoid DOM parsing adding html doctype, had and body tags?

<? $string = ' Some photos<br> <span class="naslov_slike">photo_by_ile_IMG_1676-01</span><br /> <span class="naslov_slike">photo_by_ile_IMG_1699-01</span><br /> <span class="naslov_slike">photo_by_ile_IMG_1697-01</span><br /> <span class="naslov_slike">photo_by_ile_IMG_1695-01</span><br /> '; $dom = new ...

Extract doctype with simple_html_dom

Hi am using simple_html_dom to parse some website. Is any way to extract the doctype? Thanx, Granit ...

Why does the use of the Frameset DTD cause a validation failure?

The project I work on takes random HTML files, converts them to XHTML as best as it can, and wraps them with some XML metdata. The DOCTYPE is stripped out as the resulting XML file is not an XHTML document. However when retrieving the wrapped XHTML from the XML file the DOCTYPE should be reinserted. Because these are random HTML files ...

If I use HTML 5's DocType what will happen?

I recently been learning about DocTypes and was wondering what the differnces between <!DOCTYPE html> and some of the others were. I know <!DOCTYPE html> is the HTML 5 doctype and it is experimental but was wondering what would happen if I used it instead of the other DocTypes. Thanks in advance!!!! ...

IE cannot find the W3C XHTML DTD (Error 2146697204)

I have a template that starts every page like this: <?xml version="1.0" encoding="utf-8"?> <!-- blah blah--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > <html xmlns="http://www.w3.org/1999/xhtml"&gt; ... </html> that produces the error: The XML page can...

JSTL doctype without internet connection

I was using a properties.xml file which i stored with java.util.properties storeToXML. but storeToXML always set a doctype like: <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"&gt; now i use JSTL XML to check for the properties: <c:import url="${settingsPath}" var="xml" /> <x:parse xml="${xml}" var="doc" /> <x:c...

Embedding mov in HTML5. Validation problem!

I'm trying to embed a .mov video in a web page whose DOCTYPE is HTML5, the code is: <script type="text/javascript"> QT_WritePoster_XHTML('Click to Play', '...', '...', '400', '300', '', 'controller', 'true', 'autoplay', 'true', 'bgcolor', 'black', 'scale', 'aspect'); </script> <noscript> <object width=...

Intranet and IE8 render mode

I want IE8 to render my site without compatibility mode, the site runs on our company intranet. Is there a way to to this without sending out a GP update. I've tried <meta http-equiv="X-UA-Compatible" content="IE=8"/> in the header and the document type is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or...

How to get "position:fixed" css to work in IE 7+ with TRANSITIONAL doctype?

I know that position:fixed; was not supported by IE until IE 7, and it only works in IE 7 if you have a STRICT DOCTYPE. My question is: "How do I get it work with IE 7 with TRANSITIONAL DOCTYPE?" Please don't suggest changing a DOCTYPE, as this does not answer my question, thank you. ...

DocType HTML Attribute

What is the purpose this and why this be added when we add new aspx page? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; What I have got behviour is, When I remove from page, the design look good and my modal popup is not working in IE only but working on Mo...

How do I easily change a XML document's doctype in Java?

Here's my problem: My program is getting XML files as its input. These files may or may not have an xml declaration, doctype declaration, or entity declaration, but they all conform to the same schema. When my program gets a new file, it needs to inspect it, and make sure it has declarations like this: <?xml version="1.0" encoding="U...

I'm overhauling my blog and … is HTML5 OK?

I'm overhauling my blog (http://gilesvangruisen.com/) and I'm going to be pushing new technologies as much as possible. I'm a web designer/developer and the browser percentage is as follows: 42% Firefox 39% Safari 7% Chrome 7% IE Is it OK to use the HTML5 doctype for my "rethunk" site? I thank you. -Giles :) ...

html table problem with doctype

I am trying to allign a table with an input so that the table creates a google-like drop-down. I am using jquery to retrieve the position and dimensions of the input element and then css to position the table. Things work pretty smooth when I don't use DOCTYPE. Now, when ANY DOCTYPE is included on the page things go wrong (weirdly not i...

Which HTML DocType?

I was asked today by a senior developer which doctype I'd use if I was going to write something (personal / non-commercial) for the open web. I responded, <!doctype html>, to which I was greeted with a look of shock, horror and surprise and then asked to explain myself. To my mind, it's a good candidate because current browsers (IE, FF...