transitional

javascript style.width not working in firefox with transitional doctype

I have a script that animates a small DIV popping up on the page. It all works fine in IE, and in FF if I remove the DOCTYPE, but when the DOCTYPE is XHTML/Transitional, in Firefox, the width does not change. this.container.style.visibility = "visible"; alert("this.container.style.width before = " + this.container.style.width) this.con...

What tag should I use instead of deprecated tag font in html (cannot use CSS)

Hi, this question can create a misunderstanding: I know I have to use CSS to validate successfully my document as XHTML 1.0 Transitional. The fact is that I have to embed in my webpage a picture composed by zeros and ones created with text image, and the problem is that the code uses deprecated tag font and looks like this <!-- IMAGE BE...

Is this possible in XHTML: tags in a title-attribute?

hey everyone, I got following code in an XHTML-document and every browser saysit is malformed :( <a class="tooltip" title="Um nach einem <b>Datensatz zu suchen</b>, k&ouml;nnen Sie mehrere Suchbegriffe auf einmal eingeben!<br /> Um <b>Zeilen zu l&ouml;schen</b>, selektieren Sie diese bitte...

Why certain DOCTYPE declarations cause 100%-height tables and divs to stop working?

It seems to me that some DOCTYPE declarations in IE (6-8) may cause the browser to ignore height="100%" on tables and divs (style="height:100%") E.g <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; <html> <head> <title>Test1</title> </head> <body> <div style="border: 2px s...

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...

How to Be Python 3 Ready?

What are the current rules for writing python code that will pass cleanly through 2to3 and what are the practices that seem to be best suited to writing code that will not become mired forever in version 2. I have read from the SciPy/NumPy forums that "100% test coverage" (unit testing) is important for many people, and I am not sure if...