#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    Orange County, CA
    Posts
    101
    Rep Power
    11

    Clearing CSS Values


    I'm pretty sure there isn't a way to do this, but i am curious..
    I know that i could answer the first question if i had a printer that wasn't out of ink .. but here goes.

    First: Are CSS attributes that are assigned to the media Screen inherently assigned to Print even if you point the Print media a different stylesheet?

    Second: Is there a way to clear a stylesheet values? basically making the stylesheet null or empty?
  2. #2
  3. mod_dev_shed
    Devshed Supreme Being (6500+ posts)

    Join Date
    Sep 2002
    Location
    Atlanta, GA
    Posts
    14,817
    Rep Power
    1099
    You would normally create a stylesheet with media="all" that contains styles for all media types. You can then use media="print" or media="screen" to specify media-specific styles. I usually just use one stylesheet and then use overwrite styles with a media="print" section.

    Not sure about resetting styles to the default stylesheet ... I've never run into the need for this.
    # Jeremy

    Explain your problem instead of asking how to do what you decided was the solution.

IMN logo majestic logo threadwatch logo seochat tools logo