How do I center the background?
2 posters
Page 1 of 1
How do I center the background?
Hello,
This is my forum:
http://crimson-butterfly.forumotion.com/
How do I center the background with the buildings? The background is a 1920x1080 background, which means that it is bigger than most members resolution. People with lower resolution have the background looking like this:
But I would like them to have it looking like this:
(The part outside the red square, is the part that ain't visible, when on a low resolution display.)
Thanks.
This is my forum:
http://crimson-butterfly.forumotion.com/
How do I center the background with the buildings? The background is a 1920x1080 background, which means that it is bigger than most members resolution. People with lower resolution have the background looking like this:
But I would like them to have it looking like this:
(The part outside the red square, is the part that ain't visible, when on a low resolution display.)
Thanks.
Cool-Guy- Forumember
- Posts : 295
Reputation : 0
Language : English
Re: How do I center the background?
I guess it is OK to double post if I solved the problem, myself.
I figured that this was the code to use:
Marking this as "solved".
I figured that this was the code to use:
- Code:
body
{
background-position:center;
}
Marking this as "solved".
Cool-Guy- Forumember
- Posts : 295
Reputation : 0
Language : English
Re: How do I center the background?
Solved => Locked
MrMario- Helper
- Posts : 22186
Reputation : 1839
Language : test
Similar topics
» Background CENTER CSS
» how to center background img
» How Do I Center My Background?
» Center Background Image
» Background center problem
» how to center background img
» How Do I Center My Background?
» Center Background Image
» Background center problem
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum