| Neo Geshel 2005-07-26, 7:43 am |
| I'm helping on a web site, and it's got our knickers in a knot. We're=20
using the same basic CSS files (with mods) and same headers as from our=20
other sites, but the "print preview" won't work correctly on this site.
The site is here: http://askdrray.kabis.net (temporary location)
The site is being worked on, and only the front page works right now.=20
Expect constant changes. Ignore everything =E2=80=9Cbelow the fold=E2=80=9D=
, as the=20
links there are not correct yet.
The CSS is broken up into four main files: a general one, for=20
device-independent CSS, one for Screen, one for Mobile devices (phones,=20
pda's) and one for printing.
For some strange reason, IE doesn't want to follow or even obey the=20
instructions inside the print css file. Many elements that should be=20
gone in the print version still appear. Why? Everything works fine in=20
Mozilla/Firefox - use that to see things as it should appear.
In order to flag elements in a very customizable way, we have created=20
six classes that exist in each of the three secondary files: printshow,=20
printhide, screenshow, screenhide, handshow handhide. Each class in each =
css file contains code that will "handle" any element in the right way=20
for that particular case. For example, the print.css file would normally =
have something like this:
=2Eprinthide { display: none; }
=2Escreenshow { display: none; }
=2Eprintshow { display: inline;}
and yet IE still displays the elements that have class=3D"printhide" or=20
class=3D"screenshow" in a print preview or in a print output, when in fac=
t=20
it should not. This is where we are scratching out heads. We must me=20
missing something really simple and stupid.
Also, a quick accessibility check (with Jaws) would be appreciated. How=20
does the site work for the disabled??
TIA
=2E..Geshel
--=20
**********************************************************************
My reply-to is an automatically monitored spam honeypot. Do not use it=20
unless you want to be blacklisted by SpamCop. Please reply to my first=20
name at my last name dot org.
**********************************************************************
|