Forum Moderators: not2easy

Message Too Old, No Replies

Band Pass Filter

         

ManoloBrown

5:23 pm on Apr 18, 2006 (gmt 0)

10+ Year Member



Does Anyone know how to use the band pass filter? ie5 for mac isn't importing it at all, can anyone help?

here is the code

/* CSS Document */

/* Imported Styles
----------------------------------------------- */
@import url("munny.css");

/* IE5/Mac Only Styles
Uses the IE5/Mac Band Pass Filter:
[stopdesign.com...]
----------------------------------------------- */
/*\*//*/
@import url("ie5mac.css");
/**/

doodlebee

1:45 pm on Apr 19, 2006 (gmt 0)

10+ Year Member



If I'm looking at your code correctly, you're trying to impirt the mac IE stuff from within the stylesheet.


/* CSS Document */

/* Imported Styles
----------------------------------------------- */

This is stylesheet related stuff.


@import url("munny.css");

/* IE5/Mac Only Styles
Uses the IE5/Mac Band Pass Filter:
[stopdesign.com...]
----------------------------------------------- */
/*\*//*/
@import url("ie5mac.css");
/**/

the above stuff, if called from within your stylesheet, won't do anything more than make your file bigger. What you're trying to do is call in a new stylesheet - you can't call in a stylesheet from inside another stylesheet.

You want something like this in your HTML document:

[quote]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="copyright" content="Copyright 2005" />
<meta name="author" content="" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="MSSmartTagsPreventParsing" content="true" />

<link rel="stylesheet" href="stylesheet.css" />
<style type="text/css">
/*\*//*/
@import url("ie5mac.css");
/**/
</style>

</head>
{/quote]

"Stylesheet.css" is the default stylesheet, the "ie5mac.css" is the stylesheet specified ONLY for IE5 Mac.

IN othe rwords, the stuff doesn' go in your stylesheet - it goes in the header of your document.