>> print.css should always be the last style sheet in the list.
>> Otherwise anything after it that calls #printheader will override
>> print.css. (hence cascading!)


Adrienne Latimer wrote:
Adctually, you are looking at the main.css for that entire site, not for the 'fifnc' directory.

i'm not sure i understand what you mean by this. As I haven't looked at either of the style sheets that you referenced, I just viewed the source of the URL. I realised that i was probably looking at the wrong directory, so i looked again at <http://www.florida-agriculture.com/fifnc/> and i get a page has moved or expired, however i viewed the source and this is in the header: (which looks to me to be near enough the same as the source for the other page i looked at - sorry i don't have time to doublecheck)

<head>
  <title>The Requested Page Has Moved Or Expired</title>
  <link rel="Shortcut Icon" type="image/ico" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/css/print.css" media="print" /> <style type="text/css" media="screen">@import url(/css/main.css);</style> <link rel="alternate stylesheet" type="text/css" href="/css/main2.css" title="main2" /> <link rel="alternate stylesheet" type="text/css" href="/css/main.css" title="main" />
  <script type="text/javascript" src="/jscripts/styleswitcher.js"></script>

<style type="text/css" media="screen">@import url(/css/forms.css);</style>
  <style type="text/css">
<!--
@media tty {
 i{content:"\";/*" "*/}} @import '/css/ie5pconly.css'; /*";}
}/* */
-->
</style><!--#include file="/ssi/meta.htm" --> </head>

But... it does raise an interesting point. For the stylesheet linking you site below, In IE, main.css isn't overriding print.css with respect to #printheader as you point out that it should. It is however being overridden in Gecko - probably rightfully so.

*ummm* do you still have !important on, as that will override everything?

(also please trim anything irrelevant out of your posts - think of the digest readers)

cheers for now
Kristina
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to