SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    100% Windoze-free earther's Avatar
    Join Date
    Feb 2003
    Location
    Linuxland
    Posts
    2,788
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Really basic @import question

    I have been getting 404 errors on my 'new.css' stylesheet. Here's the code:

    Code:
    <link rel="stylesheet" type="text/css" href="nn.css" />
    <style type="text/css">
      @import url('new.css');
    </style>
    Is this happening because of the single quotes (which I am using following an example given by Vinnie a while back)? I have seen double quotes and no quotes also used in different source code so am confused as to which format is 'correct'. What will stop the 404s? Thanks!

  2. #2
    SitePoint Wizard DougBTX's Avatar
    Join Date
    Nov 2001
    Location
    Bath, UK
    Posts
    2,498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Really basic answer: Give it a go and see what works.

    Otherwise, a quick google: http://66.102.11.104/search?q=cache:...hl=en&ie=UTF-8

    Douglas
    Hello World


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •