View Full Version : help w/ css code


iCeY_pnAi
07-18-2003, 09:25 PM
hey. can someone check this code out for me and tell me if somethings wrong with it. thanks

<style type="text/css">
<!-- font {font-size: 8pt; font-family: arial; color:#000000; text-align: justify;line-height: #1pt; letter-spacing: #5pt} //-->
<!--input,textarea{color:#000000;font-size:8PT;font-family: arial;background:#FFFFFF;border:1PT dashed #000000}
//-->

psychochick
07-18-2003, 10:14 PM
Ok. Go to notepad. Type the code in. save it as .htm the nopen internet explorer browser. then click file open browse all files then finnd your file and see if it worked. K?

iCeY_pnAi
07-18-2003, 10:20 PM
nope it didn't work. what did i do wrong with the code?

psychochick
07-18-2003, 10:42 PM
Sorry, I'm not that good w/ CSS.... But I am sort of good w/ html.
Try this: <font face="arial" size=+"7"> TEXT HERE </font>

pb&j
07-18-2003, 11:42 PM
try this...

<style type="text/css">
<!-- font {font-size: 8pt; font-family: arial; color:#000000; text-align: justify;line-height: 1pt; letter-spacing: 5pt;}
input,textarea{color:#000000;font-size:8pt;font-family: arial;background-color:#FFFFFF;border:1pt dashed #000000;}
-->
</style>

it is rather odd to have a style declared for the font tag. you may want to create a "class" and apply it to a SPAN or DIV area instead.


Originally posted by psychochick
Ok. Go to notepad. Type the code in. save it as .htm the nopen internet explorer browser. then click file open browse all files then finnd your file and see if it worked. K?
...
Sorry, I'm not that good w/ CSS.... But I am sort of good w/ html.
Try this: <font face="arial" size=+"7"> TEXT HERE </font>
saving a css section as an html page would not help. if it were going to be an external css page, the extension would be .css and the style tags would be omitted.

the corrected font example would be...
<font face="arial" size="7"> text here </font>
the plus symbol would mess things up a bit. the size of 8pt would be a different size than font size 7 as well.