Forum Moderators: not2easy

Message Too Old, No Replies

CSS Wont Work

whats wrong?

         

blackhawk632

12:42 am on Apr 16, 2004 (gmt 0)

10+ Year Member



the style sheet doesnt seem to want to load the text-family, but you see it works on all my other pages but not on this one for some reason

HTML
[codes]
<html>
<head>
<LINK rel="stylesheet" href="cheese.css">
<title></title>
</head>

<body>
<table width="100%" height="163" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" width="50%"><a href="http://anti-reality.net/blackhawk632/comments.htm">Send
Us Your Thoughts!</a></td>
<td align="center" width="50%"><a href="http://anti-reality.net/blackhawk632/form.html">Join
The Clan!</a></td>
</tr>
</table>

</body>
</html>
[/codes]

And actually some of my other files dont read it either. The links work and everything just the stuff in the body tag in the css

CSS
[codes]<style type="text/css">
a:hover, a:active{
background-color:snow;
position:relative;
top:2;left:1;bottom:2px;
text-decoration:none;
.judul{line-height:12px
}

a:link, a:visited{
color:#FCA43E;
font-size:7pt;
text-decoration:none;
width:inherit
}

b{
color:#FCA43E
}

INPUT{
font-family:terminal;
font-size:7pt;
background-color:transparent;
border-width:1px;
border-style:solid;
color:#000000;"
}

TEXTAREA{
background-color:transparent;
scrollbar-arrow-color:#fca43e;
scrollbar-track-color:#ffffff;
scrollbar-face-color:#ffffff;
scrollbar-highlight-color:#ffffff;
scrollbar-3dlight-color:#ffffff;
scrollbar-darkshadow-color:#000000;
scrollbar-shadow-color:#ffffff;
cursor:crosshair;
}

body{
background-color:transparent;
scrollbar-arrow-color:#fca43e;
scrollbar-track-color:#ffffff;
scrollbar-face-color:#ffffff;
scrollbar-highlight-color:#ffffff;
scrollbar-3dlight-color:#ffffff;
scrollbar-darkshadow-color:#000000;
scrollbar-shadow-color:#ffffff;
cursor:crosshair;
text-align:justify;
line-height:8px;
font-size:6pt;
font-family:terminal;
}

</STYLE>
[/codes]

iamlost

2:02 am on Apr 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The only generic font-familys recognized by css are: 'serif', 'sans-serif', 'cursive', 'fantasy', and 'monospace'.

terminal is therefore a "family-name" font of some sort (like 'Arial') and if it is not on the viewers machine it can not be rendered. As you did not include a generic font-family to default to the browser will show whatever it has set as its default.

Rambo Tribble

2:09 am on Apr 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If your style code is in a separate file, it shouldn't have anything but the style rules in it. No style tags, in other words.

All the scrollbar rules for the body tag are only recognized by IE 5.5+ Just so you know.

blackhawk632

5:17 am on Apr 16, 2004 (gmt 0)

10+ Year Member



uhh so what should it look like?