Fixed background in Netscape

They have: 222 posts

Joined: Sep 1999

Is there any way to get a fixed background in Netscape using normal HTML and not CSS?

Busy's picture

He has: 6,151 posts

Joined: May 2001

in short - no
whats wrong with using CSS?

They have: 222 posts

Joined: Sep 1999

I'm using Calcium, a web Calendar script, and it doesn't use CSS. The author told me how to edit it to use bgproperties="fixed", but that only works for IE.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

In order to make it use CSS, you just have to link the CSS in the tag.

They have: 8 posts

Joined: Dec 2002

Yes - just link it in the section. I did so here:

http://memphisqueen.com/cgi-bin/Calcium35.pl?Op=ShowIt&CalendarName=Cruises

I know I changed it in the header.pm file in the Calcium/Calendar directory (Calcium will be different based on your version.

They have: 222 posts

Joined: Sep 1999

I added

to Header.pm in the Head section, and have a stylesheet.css one level up containing

body {
background-image: url(../../../images/bckgrd.jpg);
background-attachment: fixed;
background-repeat: no-repeat;
}

And it's not working. It doesn't show the image at all.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Netscape reads CSS as relative to the html file instead of relative to the CSS file. Use the relative to root method for the url instead of the relative to file.

url(/images/bckgrd.jpg);

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.