The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How do I center the background?

View previous topic View next topic Go down

Solved How do I center the background?

Post by Cool-Guy on March 25th 2011, 5:48 pm

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. Very Happy

Cool-Guy
Forumember

Posts : 295
Reputation : 0
Language : English

Back to top Go down

Solved Re: How do I center the background?

Post by Cool-Guy on March 25th 2011, 11:53 pm

I guess it is OK to double post if I solved the problem, myself. Smile

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

Back to top Go down

Solved Re: How do I center the background?

Post by MrMario on March 26th 2011, 3:17 am

Solved => Locked

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

View previous topic View next topic Back to top


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