If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jun 2004
    Member #
    Hi just wanted to know the advantages, disadvantages with Css stylesheets in DW MX 2004. When linking or importing a stylesheet to a page, is it when its linked that all you have to do is change the stylesheet and all the pages that are linked to the specific css will automatically change? If this is so why would you want to import any styles?


  3. #2
    Senior Member Brak's Avatar
    Join Date
    Apr 2003
    San Francisco, CA
    Member #
    2 times
    link is used by browsers that have almost no CSS spport, while import is not. So you can hide your CSS from bad browsers by using the import and just display unstyled content.

    And I assume by import you mean @import "styles.css"
    Kyle Neath: Rockstar extraordinare
    The blog | The poetry site | The Spore site

  4. #3
    Senior Member glyakk's Avatar
    Join Date
    Nov 2003
    Member #
    6 times
    Another advantage to @import is you can import style sheets into other style sheets. Almost all sites I create link to a single style sheet using the Link tag. But that file is used only as a container to import other style sheets. (this also helps to block old browsers as brak stated)

    I will break up my style sheets into verious others such as one that specifically deals with layout, another with link styles, etc.. This ensures that If I want to change certin aspects I dont have to 'fish' through a huge file, and I can experiment much easier.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 10:00 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: