W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2002

Re: CSS optimised for different browsers

From: Julian <j@simweed.com>
Date: Sat, 16 Nov 2002 11:15:11 -0000
Message-ID: <001001c28d61$712cc9e0$e421c250@server>
To: "WAI-IG" <w3c-wai-ig@w3.org>

You can do to this some extent without using client side or server side
scripting. What you need to do is to exploit the css parsing bugs in
different browsers so they see different syles - and there are lots of bugs
to play with ;-)

hth - sorry can't really advise anymore since it's a sizeable subject and
there are quite a few different methods.

These places might help:

http://pixels.pixelpark.com/~koch/hide_css_from_browsers/
http://www.albin.net/CSS/OwenHack.html
http://www.tantek.com/CSS/Examples/boxmodelhack.html
http://www.tantek.com/CSS/Examples/highpass.html
http://www.ericmeyeroncss.com/bonus/trick-hide.html
http://www.xs4all.nl/~ppk/css2tests/
http://developer.apple.com/internet/css/ie5cssbugs.html

Julian




----- Original Message -----
From: "John Ablett" <john@jablett.freeserve.co.uk>
To: "WAI-IG" <w3c-wai-ig@w3.org>
Sent: Friday, November 15, 2002 4:28 PM
Subject: CSS optimised for different browsers


>
> Hi
>
> I've been working on a website for a small UK charity which I have been
> trying to make accessible, without losing the 'look and feel' of the
> interface design.
>
> The original had independently scrolling columns laid out side by side
using
> FRAMES.  I've been able to recreate the scrolling columns using CSS, and
> make them keyboard accessible using tabindex.  They seem to work OK with
> Lynx and display correctly without CSS,  but I still have a few problems.
>
> The columns use percentages for positioning and width so that they fit the
> screen, but this design is screwed up royally by Netscape 4.  Also, to
avoid
> an unneccessary horizontal scroll bar, I've used the overflow-Y property
> which only works in IE5+.
>
> I'm aware that I've painted myself into an accessibility corner here, but
> I'm wondering whether it is possible to have the page load a simple
default
> CSS, then somehow detect the browser and load the alternative CSS
optimised
> for IE if applicable (and would that be an acceptably accessible
solution)?.
> I don't have access to any server side technology. Can anyone advise ?
>
> best wishes
>
> John Ablett
>
>
>
>
>
>
Received on Saturday, 16 November 2002 06:15:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:07 GMT