The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Background help - aligning for ALL screen sizes OR 2 images to make the background

2 posters

Go down

Background help - aligning for ALL screen sizes OR 2 images to make the background Empty Background help - aligning for ALL screen sizes OR 2 images to make the background

Post by Misery_Kitty Mon 17 Aug - 4:27

Hi all my forum is a little messed up when you don't have the same screen size as me HAHAHAHA

http://scrapmojo.forum.st/

is there a way to either:
Make the background sit right in the center and the forum stay there with it
Have 2 images one on either side of the forum
ermm... option c: nothing can be done?? Rolling Eyes

thanks in advance
Hello
avatar
Misery_Kitty
Forumember

Posts : 165
Reputation : 0
Language : English

Back to top Go down

Background help - aligning for ALL screen sizes OR 2 images to make the background Empty Re: Background help - aligning for ALL screen sizes OR 2 images to make the background

Post by Syrasha Fri 28 Aug - 18:12

I absolutely need to know this, too.

I have two figures that I want to be flanking either side of my forum, just like http://www.aionsource.com/forum
but to do that, you have to be able to anchor the background to the very center of the window, or the center of the forum.

Any help will be greatly appreciated!
avatar
Syrasha
New Member

Posts : 4
Reputation : 0
Language : English

Back to top Go down

Background help - aligning for ALL screen sizes OR 2 images to make the background Empty Re: Background help - aligning for ALL screen sizes OR 2 images to make the background

Post by Syrasha Fri 28 Aug - 18:39

Ok, I figured this one out.

Background help - aligning for ALL screen sizes OR 2 images to make the background Pictur10

You can see there, that I placed this code into my CSS area:

body {
font-family: Century Gothic, Helvetica, Arial, sans-serif;
color: #ffffff;
background-color: #27354f;
background-image: url('https://i.servimg.com/u/f89/14/29/41/10/bgligh10.jpg');
background-attachment: fixed;
background-position: center;
font-size: 11px;
height: auto;
padding: 10px 0px;
}

And the relevant code line that needs to be added to the default is in red. This will center your forum background image so that it will correctly align to the center of your window/forum (so that if you have images that need to be on either side of your forum, flanking it, they will be in the right spot no matter the size of someone's monitor!)
avatar
Syrasha
New Member

Posts : 4
Reputation : 0
Language : English

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum