Gossamer Forum
Home : Products : Links 2.0 : Customization :

Background

Quote Reply
Background
I just got my Links 2.0 up and running. But I am having what appears to be a very basic problem. I cannot get an image as a background. I have tried with editing the html in Links and by changing the links.css file. I even tried in the site_html.pl. my site is currently http://www.earthlytreasures.net/cgi-bin/links/admin/admin.cgi and any help to a newbie would be greatly appreciated

Over 50 learning how to build web sites
Quote Reply
Re: Background In reply to
I take it you arn't using the templates then?

Quote Reply
Re: Background In reply to
First thing you must do is edit your previous post or password your admin afolder. I have just gained access to your admin.cgi and can view all links.


Quote Reply
Re: Background In reply to
Have you used the complete domain address with the image directory and name
of the image/exension in your links.css file?

Like the following:

Code:

http://www.yourdomain.com/images/background.gif


You should've replaced "http//localhost/" in the links.css file.

If you do not want to use the CSS file and you are not using TEMPLATES (although you,
as a newbie, should use TEMPLATES since they are easier to configure and customize),
then all you have to do is add the following in the site_html.pl file:

Code:

$body = qq|body background="/images/background.gif" bgcolor=""|;


Then in ALL the subroutines in the site_html.pl file, use the following
codes:

Code:

</head>
<$body>


Good luck!

Regards,

Eliot Lee
Quote Reply
Re: Background In reply to
I am trying to use the templates but seem to have something messed up. I am not unfamiliar with HTML and have created quite a few web pages that seem to be OK. I have been trying to edit the templates but with minimal success. I even took a graphic and embedded it in the add.html doc and it came up with the box with an X in it. You know, like when you haven't uploaded the image to the server. I am quite sure I am missing something but I have, in the past, put up guestbooks and the WWWboard program as well as a couple of other (inferior) links programs. I seem to recall having a problem with WWWboard and having to put the html and graphics OUTSIDE my cgi-bin directory. I will continue to search the forum and try some different combinations. BUT if anyone can help I will give you GOOD LUCK for the whole year of 2001 <G>

Over 50 learning how to build web sites