Two CSS work together?

windows

Guest
Howdy~
I just wondering wondering if there is a way the two different CSS can work on the same page?

<style type="text/css">
@import "all.css";

body {
margin:13px 13px 13px 13px;
}

#main {
border:5px solid #EE2C2C;
background:#EE2C2C;
}
#main #menu {
border-left:0px solid #000;
border-bottom:0px solid #000;
float:right;
width:650px;
background:#EE2C2C;
margin:0px 0px 0px 0px;
}
p,h1,pre {
margin:0px 0px 0px 0px;
}
h1 {
font-size:14px;
padding-top:5px;
}
#menu p { font-size:10px}
</style>
<style>
BODY{
CURSOR: url(USFlag.cur);
}
</style>


Thanks
The DevilSure but the latter will overwrite any like declarations of the former.Howdy~
so your telling me there is no way they can be put into one CSS and do two different things?

Thanks
The DevilOriginally posted by Tasmanian Devil
so your telling me there is no way they can be put into one CSS and do two different things? I'm not exactly sure what you are saying. I'm not exactly sure you know what you're asking.

body {color: #fff;}

followed by

body {color: #000;}

will result in the text in the body, otherwise not defined, being black, not white.Howdy~
What I am trying to ask is if the first CSS that was posted before can stay the say and use another CSS to change the cursor (second CSS posted before) can be put together so I can complish both things at one time.

Thanks
The DevilOriginally posted by Tasmanian Devil
Howdy~
What I am trying to ask is if the first CSS that was posted before can stay the say and use another CSS to change the cursor (second CSS posted before) can be put together so I can complish both things at one time. I'm sure it will work...but why separate the two...it isn't efficient.Howdy~
They are two different CSS codes. I am trying to make it so they both will work on the same page.

Thanks
The DevilI think what's he's asking is why you don't just incorporate the information of the second style to the first. Since the second style just adds to the body tag, just put it in the first style like this:

<style type="text/css">
@import "all.css";
body {
margin:13px 13px 13px 13px;
CURSOR: url(USFlag.cur);
}
...
</style>
If you do it like that it will work on the same page.It will probably work but what's the point? I can see using the technique with external sheets or maybe even server side page builds but it's kind of dumb the way you have it originally stated.
 
Back
Top