PDA

View Full Version : sliding forums???


xfords.com
10-09-2008, 02:00 PM
i would like to make my forum page slide, id like to use the default style however make the forum slide over a background image that stays still, also keeping the forum fluid.
what would be the best way of going about this and what would be needed? is there a mod for this or a style already made using the default blue style slide with background still image and in fluid?
i did look through the styles and couldnt find what i was after and couldnt find a mod to make this,
any ideas would be very helpfull and thank you in advance.

Lynne
10-09-2008, 02:15 PM
What you want is a 'static background'. Google it and you come up with this sort of tag:
body{
background-image:url(picture.jpg);
background-attachment:fixed;
}

So, upload your background image, go to the Style Manager and edit Main CSS. Change the body class there to change these properties.

xfords.com
10-09-2008, 02:19 PM
lynne thank you for the fast reply, and thank you that is very usefull, i was trying to think of the correct term, was thinking sliding lol but yes static background make sence,
very helpfull and thank you again

edit:
oh before i forget, would this allow the pituce to be fluid as well? so it would crop the background picture if the screen res is less than the bacground picture res??

Lynne
10-09-2008, 03:37 PM
I can't really answer that since I have never used this sort of style on my site and don't know exactly how it acts for different users/browsers. I think you just need to try it and play with it to see.

xfords.com
10-10-2008, 06:18 AM
ok now what i have been told is using your code would be good, but i want to add the picture so it sit down the forum left edge and be about 400 pixels wide,
and so using the code lynne posted above how would i make the picture stay on the forum background left side edge ?

i am still learning this stuff as far as modifying templates and so on. and so if any one would have code to do waht i was after that would be awsome.

Lynne
10-10-2008, 04:05 PM
You may want to see this page on the css background property - http://www.w3schools.com/css/css_background.asp

xfords.com
10-10-2008, 10:46 PM
ok thats very usefull thank you again lynne