Re: Positioning content with div tags - whats wrong here?



David Mark wrote:
[...] Thomas 'PointedEars' Lahn [...] wrote:
Randy Webb wrote:
Thomas 'PointedEars' Lahn said the following on 12/4/2007 8:27 PM:
David Mark wrote:
On Dec 4, 11:01 am, Randell_D <fiprojects....@xxxxxxxxx> wrote:
<script language="javascript">
Get rid of that language attribute. Optionally, add type="text/
javascript".
The `type' attribute is *required* in Valid (X)HTML:
http://www.w3.org/TR/html4/interact/scripts.html#edef-SCRIPT
http://validator.w3.org/

Although there are no properly defined MIME types for that attribute.

Yes, there are.

But they do not work in all browsers. Therefore you are stuck with
the non-standard "text/javascript."

"text/javascript" is _not_ non-standard. It has been standardized
more than two years ago:

http://pointedears.de/scripts/test/mime-types/


PointedEars
.



Relevant Pages

  • Re: OT - where to invest
    ... criticism that the entire world of javascript serious ... - John Resig: Pro JavaScript Techniques. ... criticism is that JQuery is the work of a near novice and ... observed diversity in different web browsers). ...
    (comp.lang.javascript)
  • Re: OT - where to invest
    ... criticism is that JQuery is the work of a near novice and ... It is probably true that many people, included me, try to learn Javascript outside the schoolclasses, by themselves, in a disordered way, with no precise method. ... So it seems that Resig worked it out alone, not listening to the exprienced programmers, entering the wrong way in some occasion. ... incompatibility in the dozens of browsers lying around and making ...
    (comp.lang.javascript)
  • Re: Comments, suggestions on comp.lang.javascript FAQ
    ... In terms of javascript support and DHTML support, ... some browsers interpret this as ... Upload and post a link to that example so that it can be added to the FAQ. ...
    (comp.lang.javascript)
  • Re: Does Macintosh read uppercase?
    ... global tag in JavaScript used to reference the whole HTML ... case sensitive in all browsers when referencing it in JavaScript). ... It should be $0.00 if the spouse is not registering, ... "Murray" wrote: ...
    (microsoft.public.frontpage.programming)
  • Re: Efficient use of setTimeout ?
    ... **Use as few timers as possible.** Timers consume valuable system resources, and the behavior of multiple timers, all working together, will greatly vary on differently powered machines. ... Mozilla-based browsers still have performance problems with some DHTML redrawing a page ... You should first develop the content, then its structure, then the markup code, then the style info and then, only then, the script: that's the best way to develop a webpage, even a very intensely dynamic/javascript one. ... Maybe the nr 1 problem you have is non-optimized javascript right now; but you first should start with/be addressing the markup code, then CSS code and then address the javascript code. ...
    (comp.lang.javascript)