using bgproperties=fixed

plastikman

Joined: 2002-09-17
Posts: 39
Posted: Tue, 2002-11-05 06:23

my gallery is based in frames and i have a fixed background where when you scroll it wont move..now how do i make it like that in my gallery?

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Tue, 2002-11-05 07:50

Edit the standalone_style.css in the css folder.

 
plastikman

Joined: 2002-09-17
Posts: 39
Posted: Wed, 2002-11-06 04:20

but this isnt css this is in the <body> tag its self because the body tag in the css is for changing the scroll bar color

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Wed, 2002-11-06 06:33

I am curious about this statement:

Quote:
but this isnt css this is in the <body> tag its self because the body tag in the css is for changing the scroll bar color

The body tag in css is certainly NOT just for changing scroll bar colours, what would give you that idea?

The old way of fixing a body background was to add background=fixed to the body tag, but why not use css?

For example:
<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE> body { background-image: url("whatever.gif");
background-repeat: no-repeat;
background-attachment: fixed;
} </TD></TR></TABLE><!-- BBCode End --> will give you a background image that will remain fixed, and not scroll with the rest of the page.

Is that not what you wanted?

 
plastikman

Joined: 2002-09-17
Posts: 39
Posted: Thu, 2002-11-07 05:53

yea ive gotten to change the scroll bar color in my gallery using
BODY {
scrollbar-face-color: #272A2F;
scrollbar-shadow-color: #1B1E25;
scrollbar-highlight-color: #cccccc;
scrollbar-3dlight-color: #272A2F;
scrollbar-darkshadow-color: #1B1E25;
scrollbar-track-color: #000000;
scrollbar-arrow-color: #FFB903;
}
commands but nm about the fixed bg i got that to work! :grin: