Background help - aligning for ALL screen sizes OR 2 images to make the background
2 posters
Page 1 of 1
Background help - aligning for ALL screen sizes OR 2 images to make the background
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??
thanks in advance
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??
thanks in advance
Misery_Kitty- Forumember
- Posts : 165
Reputation : 0
Language : English
Re: Background help - aligning for ALL screen sizes OR 2 images to make the background
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!
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!
Syrasha- New Member
- Posts : 4
Reputation : 0
Language : English
Re: Background help - aligning for ALL screen sizes OR 2 images to make the background
Ok, I figured this one out.
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!)
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!)
Syrasha- New Member
- Posts : 4
Reputation : 0
Language : English
Similar topics
» Aligning Background Image
» Make forum background same as main background? [Solved]
» background sizes for my forum
» Background will not cover the entire screen.
» Background centering for screen size
» Make forum background same as main background? [Solved]
» background sizes for my forum
» Background will not cover the entire screen.
» Background centering for screen size
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum