View Full Version : css fonts bg color wont work, formatting stops and shows up on page


sarahstrange
11-15-2006, 03:23 AM
my css formmating doesnt make the bg and fonts the color thyre supposed to be, formmating show up on actual web page. what am I doing wrong?
http://www.angelfire.com/punk/sarahstrange/index.html

pb&j
11-15-2006, 05:16 AM
you need to....

1. enter correct html foundation tags.
2. replace VALUE with the values.
3. make sure everything has an ending ; or }

<html><head>
<style type="text/css">

A:link
{ text-decoration: none; color: #ffffff; }
A:visited
{ text-decoration: line-through; color:#ffffff; }
A:active
{ text-decoration: blink; color:#ffffff; }
A:hover
{ text-decoration: line-through; color: #ffffff;
background-color: #000000;
cursor: crosshair; }


h1 {font-family: alba; color: #ffffff;}

p {font-family: alba;
color: #ffffff; }

body
{ background-color: #000000;
font-family: alba;
color: #ffffff ;
letter-spacing: 5pt;
font-weight: lighter;
font-size: medium;
direction:rtl;
scrollbar-face-color : #ffffff;
scrollbar-highlight-color : #000000;
scrollbar-3dlight-color : #000000;
scrollbar-shadow-color : #000000;
scrollbar-darkshadow-color : #000000;
scrollbar-track-color : #000000;
scrollbar-arrow-color : #ffffff;
margin-top: 0px;
padding: 0px;
}

td
{ font-family: alba;
color: #ffffff;
padding: 2cm;
}

input, textarea
{ background-color: #000000;
font-family: alba;
color: #ffffff; }


</style>

</head>

<body>


<div style="position:absolute; left:200px; top:400px; width:100px; height:100px; background-color:#ffffff; overflow:auto;">

Your text and images would go here

</div>
<div style="position:absolute; left:500px; top:450px; width:100px; height:100px; background-color:#ffffff; overflow:auto;">

Your text and images would go here

</div>

</body>
</html>

sarahstrange
11-15-2006, 03:26 PM
thank you very much

pb&j
11-16-2006, 05:22 AM
no worries.