Previous Message
Next Message

IE6: @import directive vs. media ???

Sent by Michael D Schleif on 14 August 2004 00:12


--===============61178624260535575==
Content-Disposition: inline
content-type: multipart/signed; micalg="pgp-sha1";
	protocol="application/pgp-signature"; boundary="O9uFcEIpmYvy18ul"


--O9uFcEIpmYvy18ul
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Erik Ratcliffe [EMAIL-REMOVED]> [2004:08:13:16:44:06-0600] scribed:
> On Fri, Aug 13, 2004 at 05:17:05PM -0500, Michael D Schleif wrote:
> > Is it just me, or does IE6 completely ignore external style sheets if
> > declared thusly?
> >=20
> >     <style type=3D"text/css">
> >     @import url("/css/real.css") screen;
> >     @import url("/css/unreal.css") screen;
> >=20
> >     </style>
>=20
> I've never seen @import used with anything but a URL. Neither of my books
> on CSS (well, I didn't WRITE them, I just OWN them) mention any optional
> media types after the URL.
>=20
> Have you seen this work elsewhere?

It works with Mozilla, Firefox and even Konqueror.

I saw it in Eric Meyer's _Cascading Style Sheets The Definitive Guide_,
2nd Edition, pg. 19.

I am using CGI.pm, and want to @import style sheets for particular
media.  I have not found a way to add media=3D"screen" to the style tag
using CGI.pm.  I found a way to do the above; but, it does not seem to
be recognized by IE6.

What do you think?

--=20
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

--O9uFcEIpmYvy18ul
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBHUwJLUOEaCtUQpwRAptIAKCJm2LDPvlr5XpfTwf34ADSVOHU7wCfX1iA
1KqIM0ui7bDpukvTF8fJnvg=
=R5no
-----END PGP SIGNATURE-----

--O9uFcEIpmYvy18ul--

--===============61178624260535575==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

--===============61178624260535575==--
Previous Message
Next Message

Message thread: