Gossamer Forum
Home : Products : Links 2.0 : Customization :

How can I add this...

Quote Reply
How can I add this...
Hello:

I'm new here and had a question that may or may not have been asked and answered. I am using templates and have tried to install this code on my pages to no avail.

<style>BODY {
SCROLLBAR-FACE-COLOR: #7D836A; SCROLLBAR-HIGHLIGHT-COLOR: #000000; SCROLLBAR-SHADOW-COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #999966; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #7D836A; SCROLLBAR-DARKSHADOW-COLOR: #999900
}
</style>




Anyone know how I can accomplish this?

Thanks in advance,

Taipan Shocked
"There's been an explosion! Your site has been inundated, and profits are going through the roof."
http://cbbomb.com

Host you BOMB on the server specifically designed for BOMBERS, CBBOMBER Domains and Hosting http://cbbomber.com
Quote Reply
Re: [taipan] How can I add this... In reply to
Put it inside the links.css stylesheet file. ;)
Quote Reply
Re: [wysardry] How can I add this... In reply to
In Reply To:
Put it inside the links.css stylesheet file. ;)


I tried that but am afraid I dont know how to. I used topsyle to edit the ccs stylesheet file but something is wrong.
"There's been an explosion! Your site has been inundated, and profits are going through the roof."
http://cbbomb.com

Host you BOMB on the server specifically designed for BOMBERS, CBBOMBER Domains and Hosting http://cbbomber.com
Quote Reply
Re: [taipan] How can I add this... In reply to
if you are using links.css AND have not modified the body tag, you should see the following:

Code:
body {
color: #000000;
background: #FFFFFF url("http://localhost/...pages/background.gif") repeat-y;
}


Open your text editor and add the following by cutting and pasting:

Code:
body {
color: #000000;
background: #FFFFFF url("http://localhost/...pages/background.gif") repeat-y;
SCROLLBAR-FACE-COLOR: #7D836A;
SCROLLBAR-HIGHLIGHT-COLOR: #000000;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-3DLIGHT-COLOR: #999966;
SCROLLBAR-ARROW-COLOR: #000000;
SCROLLBAR-TRACK-COLOR: #7D836A;
SCROLLBAR-DARKSHADOW-COLOR: #999900
}


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Quote Reply
Re: [esm] How can I add this... In reply to
In Reply To:
if you are using links.css AND have not modified the body tag, you should see the following:

Code:
body {
color: #000000;
background: #FFFFFF url("http://localhost/...pages/background.gif") repeat-y;
}


Open your text editor and add the following by cutting and pasting:

Code:
body {
color: #000000;
background: #FFFFFF url("http://localhost/...pages/background.gif") repeat-y;
SCROLLBAR-FACE-COLOR: #7D836A;
SCROLLBAR-HIGHLIGHT-COLOR: #000000;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-3DLIGHT-COLOR: #999966;
SCROLLBAR-ARROW-COLOR: #000000;
SCROLLBAR-TRACK-COLOR: #7D836A;
SCROLLBAR-DARKSHADOW-COLOR: #999900
}
"There's been an explosion! Your site has been inundated, and profits are going through the roof."
http://cbbomb.com

Host you BOMB on the server specifically designed for BOMBERS, CBBOMBER Domains and Hosting http://cbbomber.com
Quote Reply
Re: [esm] How can I add this... In reply to
Thanks but its still not working. I dont know why Frown but I'm also not getting the "rate this" link either.

Taipan
"There's been an explosion! Your site has been inundated, and profits are going through the roof."
http://cbbomb.com

Host you BOMB on the server specifically designed for BOMBERS, CBBOMBER Domains and Hosting http://cbbomber.com
Quote Reply
Re: [taipan] How can I add this... In reply to
telling us that it is not working is not providing us with a lot of information.

have the scroll bars changed?

do you have any style tags in your html page AFTER the link to the links.css?

do you have the link to the links.css in your head section?

is the links.css affecting your html page ( is the html page loading the links.css file ? )

show us something and maybe someone can help.


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Quote Reply
Re: [esm] How can I add this... In reply to
Sorry Blush dont mean to be a pest. Everything works fine except for the new scrollbar colors.

"have the scroll bars changed"?

Nope!

"do you have any style tags in your html page AFTER the link to the links.css?"


Yes I do, is this the problem.Crazy I'll check as I post this,


do you have the link to the links.css in your head section?

Yes!

is the links.css affecting your html page ( is the html page loading the links.css file ? )

No the other sytles on the links.css seem to be working.


Thanks Gene.



Taipan
"There's been an explosion! Your site has been inundated, and profits are going through the roof."
http://cbbomb.com

Host you BOMB on the server specifically designed for BOMBERS, CBBOMBER Domains and Hosting http://cbbomber.com
Quote Reply
Re: [taipan] How can I add this... In reply to
Actually, this is what the head in my home.html template looks like:



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "
http://www.w3.org/TR/REC-html40/strict.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>
<%site_title%> the ClickBank Search Engine. </title>
<meta name="Description" content="">
<meta NAME="keywords" CONTENT="">
<style type="text/css">
<!--
a:hover { background-color: #FFFF66; border-color: black black #000000 #000000}
.patrick { font-weight: regular; text-decoration: none}A:hover { color: black }
a:active { clip: rect( ); color: #CC0000; background-color: #FFFFFF}-->
</style>
<STYLE type="text/css">
<!--A
{ text-decoration:none }A:hover { color:black }-->
</STYLE>
<link rel=stylesheet href="
<%build_root_url%>/links.css" type="text/css" title="<%site_title%> style sheet">
</head>




Thanks gang Sly
"There's been an explosion! Your site has been inundated, and profits are going through the roof."
http://cbbomb.com

Host you BOMB on the server specifically designed for BOMBERS, CBBOMBER Domains and Hosting http://cbbomber.com
Quote Reply
Re: [taipan] How can I add this... In reply to
well, I'm no expert at css but it doesn't take a rocket scientist to see that you have two style sections ( you can have more than 1 but it seems like 1 is sufficient ) and three a:hovers and one A { text-decoration:none }. but they somehow they do work

replace all that with

Code:
<style type="text/css">
<!--
a:hover {
background-color: #FFFF66;
border: 1px solid;
border-color: black black #000000 #000000;
}a:active {
color: #CC0000;
background-color: #FFFFFF;
}

body {
color: #000000;
SCROLLBAR-FACE-COLOR: #7D836A;
SCROLLBAR-HIGHLIGHT-COLOR: #000000;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-3DLIGHT-COLOR: #999966;
SCROLLBAR-ARROW-COLOR: #000000;
SCROLLBAR-TRACK-COLOR: #7D836A;
SCROLLBAR-DARKSHADOW-COLOR: #999900;
}

-->
</STYLE>


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Quote Reply
Re: [esm] How can I add this... In reply to
But even then, if that is only done to home.html, then only the home/index page will be affected.

Instead of putting the styles on each page, just reference the stylesheet thusly:

<link
rel="stylesheet"
type="text/css"
href="http://your url.com/links.css" />

Put that IN the <head> tag, and of course point it to YOUR stylesheet (which should NOT be in the cgi-bin).


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] How can I add this... In reply to
well, he said he had it in his links.css and it was not working. by putting it inside the style tags, we could maybe find our what was working and what was not working. if that works ( and it should ), then we could find out why the style sheet was not working.


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Quote Reply
Re: [esm] How can I add this... In reply to
Oops, I mis-read the code, and thought the href was left out...


Leonard
aka PerlFlunkie

Last edited by:

PerlFlunkie: Jan 27, 2003, 2:41 PM