Logged Out
Create an Account
Login:
Password:

Forgot your password?
static background

static background
[Back to Index]  [Bottom of Thread]
Thread Tags
Primary: [Advanced Layout]
Secondary: None
Is there any way to make a static background?? I've seen the static menus, but nothing on backgrounds... Where would I edit this?
Quote by Xirianna
Is there any way to make a static background?? I've seen the static menus, but nothing on backgrounds... Where would I edit this?


not quite sure what your asking about, but if you are looking to get a static background header like alot of the featured sights have, this is the code you want to use

<style type="text/css">
<!--
body {
background-image: url('http://blah.blah.com/kalsjdf/fdh.jpg');
}
-->
</style>

But that inside your "<head>" tags. That will give you a full banner across the front, that has no borders on the sides.

Example of this is my site (=D) hc.dkpsystem.com

If you are looking what i think your looking for though, which is just a background that doesn't move while the rest of the page does like:

http://ik.dkpsystem.com/news.

It is again in the advanced layout options. I believe you can do this by making the background tag in your body tag nonrepeat, or maybe its in the CSS file. I can't remember. I haven't worked with one of those in quite awhile >.<

Hope that helps




--
Yep its in the CSS file. Take a look at this webpage. It might help

http://www.westciv.com/style_master/academy/css_tutorial/properties/background.html#background-repeat

--
Sweet I have been looking how to do this for a while. I'm new to editing php could you give some more insight on how to do this setup from the css editor and what size does the picture need to be to fit a normal site.

my main goal is to have the backround stay in place while the forums move.

Organized Aggression

--
I see it, I insult it! It comes over and insults me and I dirt nap.

Failure is always a option!!!


I found this to add to the css editor to make the backround stay in place while the foreground moves.

Change

background-image: url(http://dkpfiles.com/oa/background);
background-repeat:no-repeat;

To below and add you pic to fit the screen.



background-image:url(http://dkpfiles.com/oa/background);

background-attachment: fixed;

background-repeat: no-repeat;

background-position: top center;



Thanks for the info largemanbb


--
I see it, I insult it! It comes over and insults me and I dirt nap.

Failure is always a option!!!




[Back to Index]  [Top of Thread]