Loading ...
Sorry, an error occurred while loading the content.

Re: External CSS

Expand Messages
  • Ankit Gupta
    Thanks, it is working fine now. I changed the file (base.css) to @import /utils/infrastructure/javascript/yui/build/reset/reset.css ; @import
    Message 1 of 4 , Oct 11, 2007
    • 0 Attachment

      Thanks, it is working fine now. I changed the file (base.css) to

      @import "/utils/infrastructure/javascript/yui/build/reset/reset.css";
      @import "/utils/infrastructure/javascript/yui/build/base/base-min.css";
      @import "/utils/infrastructure/javascript/yui/build/fonts/fonts-min.css";

      th,td{padding:0em;
      }

      Ankit

      --- In ydn-javascript@yahoogroups.com, "krisheehaw" <krisheehaw@...> wrote:
      >
      > That's because you've put HTML in a CSS file, to import CSS from
      > within a .css file use
      >
      > @import "/utils/infrastructure/javascript/yui/build/reset/reset.css";
      >
      > etc.
      >
      > --- In ydn-javascript@yahoogroups.com, "Ankit Gupta" mail2ankit@
      > wrote:
      > >
      > >
      > > Hello
      > >
      > >
      > > I have created an external css (base.css) with following 3 lines.
      > >
      > > <link rel="stylesheet" type="text/css"
      > > href="/utils/infrastructure/javascript/yui/build/reset/reset.css" />
      > > <link rel="stylesheet" type="text/css"
      > > href="/utils/infrastructure/javascript/yui/build/base/base-min.css" />
      > > <link rel="stylesheet" type="text/css"
      > > href="/utils/infrastructure/javascript/yui/build/fonts/fonts-min.css" />
      > >
      > > Now if I include this css in my code, it is not reflected.
      > >
      > >
      > > but instead if I include these 3 lined directly in my code everything is
      > > ok.
      > >
      > > I have tried Opera 9.5 and Firefox 2.
      > >
      > > Thanks
      > > Ankit
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.