SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast vladanik's Avatar
    Join Date
    Oct 2001
    Location
    Belgrade, Serbia
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Difference between importing and linking???

    Could someone please explain me the difference between importing and linking to CSS? When is linking more usefull and when importing?

  2. #2
    SitePoint Enthusiast
    Join Date
    Oct 2000
    Location
    Northern California
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Using @import hides the css from Netscape4 and lower browsers.
    Often I will use the @import with the CSS for 5+ browsers and then use link rel for a special style sheet just for N4,
    this takes advantage of the 'cascading' of the sheets as well.

    hth
    humanz
    "...Planet lurches to the right as ideologies engage/suddenly it's
    repression, moratorium on rights/what did they think the politics of
    panic would invite/the person on the street shrugs "security comes
    first"/but the trouble with normal is it always gets worse!" -- Bruce Cockburn

  3. #3
    SitePoint Zealot 19nine78's Avatar
    Join Date
    Feb 2002
    Location
    Ayr, scotland
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ^^what they said^^

    http://www.sitepointforums.com/showt...threadid=60838

    cheers

    alastair


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
  •