PDA

View Full Version : Caling CSS style


darkcarnival
06-30-03, 08:27 PM
hey,

im planning on add CSS to my site to give it some style and i want to color buttons, and text. now how do i call them? now it is going to be in a external file. i know how to call the external file but not the styles so they appear to where i want them to.if you know plz tell me. thx.

Stealth
06-30-03, 08:40 PM
<input type="button" value="button" class="YourCSSStyle">



<table width="100%" class="YourCSSStyle">
<tr>
<td>&nbsp;</td>
</tr>
</table>


in the CSS file YourCSSStyle would be


.YourCSSStyle {
blah: blah
}

Ryan
06-30-03, 08:41 PM
The W3Schools (http://www.w3schools.com/css/default.asp) offers good tutorials for learning these things, have a look there.

darkcarnival
07-01-03, 08:21 AM
well i already have the css file made i just didnt know how to call the style thx.

Stealth
07-02-03, 06:35 PM
np