View Full Version : Easy question - im just too dumb to understand...


MissYummiSushi
08-05-2006, 10:17 PM
Okay, I dont know whats wrong with my code. I've checked over and over again, but can't find the problem.

My problem is that the bold, italic, underlined and the link text shows just the way i've customized it on my CSS, but the regular text is messed up! The font I want it to be wont work!




body {
background:url(http://www.home.no/thug-loco/images/palms_test1.png) fixed no-repeat right bottom;cursor:crosshair;
body {
background:url(http://www.home.no/thug-loco/images/palms_test1.png) fixed no-repeat right bottom;cursor:crosshair;
scrollbar-face-color:FFFFFF;
scrollbar-shadow-color:FFFFFF;
scrollbar-highlight-color:FFFFFF;
scrollbar-3dlight-color:FFFFFF;
scrollbar-darkshadow-color:FFFFFF;
scrollbar-track-color:FFFFFF;
scrollbar-arrow-color:tan;}
a:link,a:visited,a:active{color:tan;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;text-decoration:none;cursor:crosshair;}
a:hover{color:black;text-decoration:linethrough;cursor:w-resize;}
p{font:8pt verdana;color:black;letter-spacing:1pt;}
b{color:tan;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;}
u{color:black;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;}
i{color:black;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;}
hr{color:black;width:460;height:1;}
p table{width:500}
.ban{display: none}
.nst{background:black;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;color:white;}
.head{border:1px solid black;background:white;color:black;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;}
}


If you dont understand what i mean, go here:

http://www.w3schools.com/css/tryit.asp?filename=trycss_background-color

Clear the stuff in the box, and type this:

<html>
<head>

<style type="text/css">


background:url(http://www.home.no/thug-loco/images/palms_test1.png) fixed no-repeat right bottom;cursor:crosshair;
body {
background:url(http://www.home.no/thug-loco/images/palms_test1.png) fixed no-repeat right bottom;cursor:crosshair;
scrollbar-face-color:FFFFFF;
scrollbar-shadow-color:FFFFFF;
scrollbar-highlight-color:FFFFFF;
scrollbar-3dlight-color:FFFFFF;
scrollbar-darkshadow-color:FFFFFF;
scrollbar-track-color:FFFFFF;
scrollbar-arrow-color:tan;}
a:link,a:visited,a:active{color:tan;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;text-decoration:none;cursor:crosshair;}
a:hover{color:black;text-decoration:linethrough;cursor:w-resize;}
p{font:8pt verdana;color:black;letter-spacing:1pt;}
b{color:tan;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;}
u{color:black;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;}
i{color:black;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;}
hr{color:black;width:460;height:1;}
p table{width:500}
.ban{display: none}
.nst{background:black;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;color:white;}
.head{border:1px solid black;background:white;color:black;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;}
</style>


See what I <b>mean?!?!?!?</b> The <b>bold</b>, <i>italic</i>, <u>underlined</u> and the <a href="www.i-am-bored.com">link</a> text shows just the way i want it, but the regular text is messed up!

</body>
</html>


This isnt probably a big problem, but I cant find the problem. I would be FOREVER thankfull if somebody would point out my mistake(s) with a correction!

:star2: :star2: :star2:

onigiri
08-05-2006, 10:22 PM
How is your "regular" text messed up? In your CSS, you didn't specify what it should look like.

Arwen
08-05-2006, 10:26 PM
body {
background:url(http://www.home.no/thug-loco/images/palms_test1.png) fixed no-repeat right bottom;
cursor:crosshair;
AdMchaa-face-color:FFFFFF;
AdMchaa-shadow-color:FFFFFF;
AdMchaa-highlight-color:FFFFFF;
AdMchaa-3dlight-color:FFFFFF;
AdMchaa-darkshadow-color:FFFFFF;
AdMchaa-track-color:FFFFFF;
AdMchaa-arrow-color:tan;
font-family: verdana;
font-size: 12px;}
a:link,a:visited,a:active{color:tan;font-weight:bold;font-size:8pt;
font-family:verdana;letter-spacing:1pt;text-decoration:none;cursor:crosshair;}
a:hover{color:black;text-decoration:linethrough;cursor:w-resize;}
p{font:8pt verdana;color:black;letter-spacing:1pt;}
b{color:tan;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;}
u{color:black;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;}
i{color:black;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;}
hr{color:black;width:460;height:1;}
p table{width:500}
.ban{display: none}
.nst{background:black;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;color:white;}
.head{border:1px solid black;background:white;color:black;font-weight:bold;font-size:8pt;font-family:verdana;letter-spacing:1pt;}
}

Should work.