ASP En Stylesheets

I am making a website where the user can choose a 'skin'.
This works with asp en stylesheets.

In the stylesheet, a number of tags are (re)defined.
The main idea is to have a limited number of colors (lets say 4) and use
only these colors to color up every tag.

However, with a long list of (custom) styles, it is a lot of work to scan
every item in the stylesheet and assign the correct color definition.

So I am wondering, is it possible to use variables or something like that to give a name to custom color and use this name for the rest of the style sheet? Code:

View Replies


ADVERTISEMENT

Stylesheets Needed For Printing?

I have an issue where I need to remove the underline from hyperlink text when printing a web page. I'm trying to accomplish this with a stylesheet, but the current stylesheet I'm working with is designed strickly for display and not printing. I added the following code;

@media print {
A:link {
background-color: #FFFFFF ;
color : #000000 ;
text-decoration : none ;
}
}

but no cigar. After some research it appears that a separate stylesheet must be used to control print style. Can anyone comment on this?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved