I have several web pages that work together. Most of them have the same css from the main file. The problem I am facing is that one page needs css to be slightly different. Here is what I mean:
CSS Wizard
.Close
{
position: relative;
top: 0px;
display: block;
margin: auto;
}
.ArrowLeft
{
background-image: url(arrow_left.png);
border: 0 none transparent;
padding: 0 0 0 0;
position: relative;
top: 0px;
height: 37px;
width: 47px;
z-index: 10;
display: none;
background-color: transparent;
float: left;
}
.ArrowRight
{
background-image: url(arrow_right.png);
border: 0 none transparent;
padding: 0 0 0 0;
position: relative;
top: 0px;
height: 37px;
width: 47px;
z-index: 10;
display: none;
background-color: transparent;
float: right;
}
CSS page
.ArrowLeft
{
background-image: url(arrow_left.png);
border: 0 none transparent;
padding: 0 0 0 0;
position: absolute;
height: 24px;
width: 25px;
z-index: 10;
display: none;
}
.ArrowRight
{
background-image: url(arrow_right.png);
border: 0 none transparent;
padding: 0 0 0 0;
position: absolute;
left: 258px;
height: 24px;
width: 25px;
z-index: 10;
display: none;
}
.Close
{
position: relative;
top: -1px;
left: 105px;
}
Note the slight differences ( margin: auto, float: left.. ect) I want these differences not to be on my css page. I know it float: nonewill delete floats, but how can I remove properties display, topand marginwhich are different? I would just change the class name, but all pages use the same .js file, so renaming them will be very long / undesirable.
Suggestions?
master css ?
():
