W3C home > Mailing lists > Public > www-html@w3.org > September 2001

RE: "alt" attribute required by XHTML 1.0

From: Christian Wolfgang Hujer <Christian.Hujer@itcqis.com>
Date: Thu, 6 Sep 2001 11:28:06 +0200
To: "Tommi Lahtonen" <tjlahton@mit.jyu.fi>, <www-html@w3.org>
Message-ID: <000001c136b6$3c4b4c40$d98f9b3e@andromeda>
Hello Tommi,

since IE doesn't interpret CSS Level 2 correctly, it is neccessary to use
tables to emulate that behaviour. It is recommended to have 3 stylesheets,
one for CSS Level 2 aware browsers like Mozilla
one for CSS Level 2 nearly aware browsers like Opera (has a bug with
overflow)
one for CSS Level 2 pseudo aware browsers like IE (interprets the box model
differently)

The overflow property of CSS Level 2 is used for this "frame-like"
behaviour.
Mozilla and Netscape 6 support it, Amaya doesn't (and correctly doesn't), IE
supports it but uses a different box model, and Opera knows about the
overflow property but has a bug in handling it (Opera 5.x including current
5.12).

For IE, the only working solution I have found was using a table.

I have attached a HTML file containing three stylesheets, one for Mozilla,
one for IE, one for Opera. It is not perfect (I have just written it from
the scratch), I tested it with IE 5.5, Opera 5.12, Mozilla 0.9.3, Amaya and
Lynx.

The required ECMAScript source for selecting the browser is not included.

You will need to invest some further work on the style sheets to make them
suite your needs, and do not forget to do deep testing with at least 15
different browsers (e.g. IE4, IE5, IE5.5, IE6, Mozilla, Netscape 6.0,
Netscape 6.1, Amaya, Netscape 4.7, Netscape 4.5, Netscape 4, Netscape 3,
IE3, Netscape 2, IE2, Lynx, W3M, EmacsW3, MindWalker, Voyager (Amiga),
Voyager (QNX), Voyager 3 (Amiga), iBrowse 1.x, iBrowse 2.x, AWeb (at least
two different versions), HotJava, JEditorPane, iCab, Web Explorer,
Konqueror, Opera 5.12, Opera 4.x, Opera 3.x, Mosaic, Mosaic 2, Mosaic 3,
AMosaic, Arena, Cello, and do not forget that a) IE on Mac is a different
browser so test that, too, and b) this list is surely still incomplete!)
before you put something like this on the web.


An important "Editor's note" from me regarding frames is included as a text.

Greetings

Christian

> -----Original Message-----
> From: www-html-request@w3.org [mailto:www-html-request@w3.org]On Behalf
> Of Tommi Lahtonen
> Sent: Thursday, September 06, 2001 8:35 AM
> To: www-html@w3.org
> Subject: RE: "alt" attribute required by XHTML 1.0
>
>
> On Wed, 5 Sep 2001, Christian Wolfgang Hujer wrote:
>
> >   Believe me, it is perfectly possible to write documents that
> >   - use "latest" features like ECMAScript ("JavaScript"), Java
> Applets, SVG
> >   Graphics and CSS Level 2 Layout
> >   - are fully backwards compatible to nearly every browserą
> >   - display great on new browsers and old browsers
> >   - display great on text browsers like Lynx or w3m
> >   - look as if they had frames in IE5, 5.5, 6 and Netscape6 /
> Mozilla with the
> >   use of the CSS Level 2 overflow property though they do not
> use the Frameset
> >   document type, so they are viewable with browsers that aren't
> capable of
> >   displaying frames
>
> This sounds interesting. Do you have any examples of this frame-like
> behavior with this overflow property? So far I have managed to make
> frame-like navigation bars with fixed positioning (CSS2) but it doesn't
> work in IE5 or IE5.5. I haven't tested IE6 yet. My example:
>
> http://appro.mit.jyu.fi/2001/syksy/propedeuttinen/
>
> --
> Tommi Lahtonen, tjlahton@mit.jyu.fi, <URL: http://www.iki.fi/hazor/>
>
> I do not fear computers.  I fear the lack of them.  -- Isaac Asimov
>


Received on Thursday, 6 September 2001 05:34:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:49 GMT