Currently I have my css like this, when I want my main text i put: <td class="text"> where text is: <br />
<br />
.text {<br />
font-family: Verdana, Arial, Helvetica, sans-serif;<br />
color : #000000;<br />
font-size: 13px;<br />
font-weight: normal;<br />
}<br />
<br />
Now, this is fine but ideally I could set this in the body soo i do not have to do this with every cell. Is it possible to place the default text in the body which currently is<br />
<br />
body {<br />
scrollbar-face-color: #DEDDC6;<br />
scrollbar-shadow-color: #666666;<br />
scrollbar-highlight-color: #FFFFFF;<br />
scrollbar-track-color: #CCCCCC;<br />
scrollbar-arrow-color: #AAAAAA;<br />
scrollbar-3dlight-color: #000000;<br />
scrollbar-darkshadow-color: #000000;<br />
}<br />
<br />
Thanks,<br />
Mike<!--content-->The first block of my CSS is always something like:<br />
<br />
body, form, h1, h2, h3, h4, h5, h6, input, li, ol, p, select, td, textarea, tr, ul {<br />
font-family: "trebuchet ms", arial, helvetica, sans-serif; font-weight: normal;<br />
}<br />
<br />
and includes stuff that I want to apply to the whole document.<!--content-->you cant just put style="font:whatever" in the body tag to have it affect everything?<!--content-->Originally posted by Gregory <br />
you cant just put style="font:whatever" in the body tag to have it affect everything? <br />
<br />
Probably =) How would my css body look then with the scrollbar info on it? --Sorry, not to css savy. =)<!--content-->i would make a seperate stylesheet, then you can use<br />
<br />
body{<br />
scrollbar-base-color:#######;<br />
scrollbar-arrow-color:#######;<br />
scrollbar-darkshadow-color:######;<br />
scrollbar-whatever-colors.....<br />
scrollbar-whatever-colors.....<br />
scrollbar-whatever-colors.....<br />
}<br />
// and then<br />
body ul, textarea, td, all the other good stuff{<br />
font: whatever;<br />
color:whatever;<br />
etc.<br />
}<!--content-->Font-family is an inherited attribute, so if you put in your body CSS, all elements should have that font until you say otherwise.<!--content-->Originally posted by Gregory <br />
i would make a seperate stylesheet, then you can use<br />
<br />
body{<br />
scrollbar-base-color:#######;<br />
scrollbar-arrow-color:#######;<br />
scrollbar-darkshadow-color:######;<br />
scrollbar-whatever-colors.....<br />
scrollbar-whatever-colors.....<br />
scrollbar-whatever-colors.....<br />
}<br />
// and then<br />
body ul, textarea, td, all the other good stuff{<br />
font: whatever;<br />
color:whatever;<br />
etc.<br />
}<br />
<br />
<br />
I am certainly not sure what ul and all the other stuff means. Would it be in bad taste to post my css stylesheet and you can see the mess that is my site and perhaps help we a bit with it?<!--content-->
<br />
.text {<br />
font-family: Verdana, Arial, Helvetica, sans-serif;<br />
color : #000000;<br />
font-size: 13px;<br />
font-weight: normal;<br />
}<br />
<br />
Now, this is fine but ideally I could set this in the body soo i do not have to do this with every cell. Is it possible to place the default text in the body which currently is<br />
<br />
body {<br />
scrollbar-face-color: #DEDDC6;<br />
scrollbar-shadow-color: #666666;<br />
scrollbar-highlight-color: #FFFFFF;<br />
scrollbar-track-color: #CCCCCC;<br />
scrollbar-arrow-color: #AAAAAA;<br />
scrollbar-3dlight-color: #000000;<br />
scrollbar-darkshadow-color: #000000;<br />
}<br />
<br />
Thanks,<br />
Mike<!--content-->The first block of my CSS is always something like:<br />
<br />
body, form, h1, h2, h3, h4, h5, h6, input, li, ol, p, select, td, textarea, tr, ul {<br />
font-family: "trebuchet ms", arial, helvetica, sans-serif; font-weight: normal;<br />
}<br />
<br />
and includes stuff that I want to apply to the whole document.<!--content-->you cant just put style="font:whatever" in the body tag to have it affect everything?<!--content-->Originally posted by Gregory <br />
you cant just put style="font:whatever" in the body tag to have it affect everything? <br />
<br />
Probably =) How would my css body look then with the scrollbar info on it? --Sorry, not to css savy. =)<!--content-->i would make a seperate stylesheet, then you can use<br />
<br />
body{<br />
scrollbar-base-color:#######;<br />
scrollbar-arrow-color:#######;<br />
scrollbar-darkshadow-color:######;<br />
scrollbar-whatever-colors.....<br />
scrollbar-whatever-colors.....<br />
scrollbar-whatever-colors.....<br />
}<br />
// and then<br />
body ul, textarea, td, all the other good stuff{<br />
font: whatever;<br />
color:whatever;<br />
etc.<br />
}<!--content-->Font-family is an inherited attribute, so if you put in your body CSS, all elements should have that font until you say otherwise.<!--content-->Originally posted by Gregory <br />
i would make a seperate stylesheet, then you can use<br />
<br />
body{<br />
scrollbar-base-color:#######;<br />
scrollbar-arrow-color:#######;<br />
scrollbar-darkshadow-color:######;<br />
scrollbar-whatever-colors.....<br />
scrollbar-whatever-colors.....<br />
scrollbar-whatever-colors.....<br />
}<br />
// and then<br />
body ul, textarea, td, all the other good stuff{<br />
font: whatever;<br />
color:whatever;<br />
etc.<br />
}<br />
<br />
<br />
I am certainly not sure what ul and all the other stuff means. Would it be in bad taste to post my css stylesheet and you can see the mess that is my site and perhaps help we a bit with it?<!--content-->