View Full Version : CSS problem; where does it need correcting?


polaris^^
12-13-2004, 09:28 AM
Hi
I just used the CSS template from this site, but I cannot get what I want. There seems to be an error, the text won't turn up as white, and I can't seem to make the text size "x-small" though I erased it now. Can someone be kind enough to check it for me? thanks!

http://raspb3rry.silence-everafter.org/css2.css

You can see the CSS in action here (http://raspb3rry.silence-everafter.org/main5.html)

:cloud: :idea: ?

pb&j
12-13-2004, 01:41 PM
on an external style page, take out the <STYLE> tags from the top and bottom.

then replace the word VALUE with one of the values.

there are a couple other small errors, so here it is cleaned up for ya...

A:link
{ text-decoration: none; color:#577E86; }
A:visited
{ text-decoration: line-through; color:#8EA4A9; }
A:active
{ text-decoration: underline; color:#376A74; }
A:hover
{ text-decoration: overline; color:#C1D3D7;
background-color: #000000;
cursor: value; crosshair}

h1 {font-size: 9pt; font-family:Batang, Arial;
color: #FFFFFF}

p {font-size: 9pt; font-family:Batang, Arial;
color: #FFFFFF}

body {margin:0; padding:0; background-color:#000000; background-attachment: fixed;
scrollbar-face-color #000000; scrollbar-highlight-color:#B9B7B7; scrollbar-3dlight-color:#716F6F; scrollbar-shadow-color:#160000; scrollbar-darkshadow-color:#230000; scrollbar-track-color:#E9E5E5; scrollbar-arrow-color:#434343}

td
{ font-family: Batang, Arial;
color: #FFFFFF;
padding: 2cm;}

input, textarea
{ border:1px dashed #CDCBCB; background-color:#000000; font-family: Batang, Arial;
color: #FFFFFF;
}

polaris^^
12-13-2004, 11:15 PM
thanks for correcting it. but i have a few more questions :).
What do I need to insert to make the titles of my blog entries white as well? At the moment, they are black and so it camoflages with the background.

And also I put my scrollbar face color as Black, why did it turn out off-white? Total opposites >.<!

thanks!

Jared
12-13-2004, 11:59 PM
Ok, first off, what do you use as the titles? Is it a h1, h2 or just a simple table cell? If its inside a tag such as one of these, you can create your own section in the css sheet.

.name {
color: #FFFFFF;
font-family: Whatever;
font-size: whatever;
}

Add that to your style sheet.

Example:

<td class="name specified in css">Text of title</td>

Jared
12-13-2004, 11:59 PM
woops, double post.

polaris^^
12-14-2004, 03:16 AM
I use greymatter so I don't know how to use that suggestion :(. Back to the question, why is the scrollbar face color white when I specified it to be black?

Rosey
12-14-2004, 03:29 AM
body {margin:0; padding:0; background-color:#000000; background-attachment: fixed;
scrollbar-face-color: #000000; scrollbar-highlight-color:#B9B7B7; scrollbar-3dlight-color:#716F6F; scrollbar-shadow-color:#160000; scrollbar-darkshadow-color:#230000; scrollbar-track-color:#E9E5E5; scrollbar-arrow-color:#434343}