Aligning Background Image
4 posters
Page 1 of 1
Aligning Background Image
Does anyone know how to get my background image on my forum aligned to fit any screen? I've seen the html/css for it somewhere but I can't remember what it is, or where I found it.
Also I'm not entirely sure which part to post it in. I'm using Shadow Designs forum layout, and i've edited it quite a bit.
http://www.flyclan.darkbb.com
Also I'm not entirely sure which part to post it in. I'm using Shadow Designs forum layout, and i've edited it quite a bit.
http://www.flyclan.darkbb.com
Last edited by Seven on August 15th 2009, 4:40 am; edited 1 time in total
Seven- Forumember
- Posts : 60
Reputation : 0
Language : English
Re: Aligning Background Image
Bumped again... Does no one know how?
Seven- Forumember
- Posts : 60
Reputation : 0
Language : English
Re: Aligning Background Image
Sorry, I don't understand. Which way do you want it aligned?
Awesomeness- Forumember
- Posts : 97
Reputation : 30
Language : English & Latin - yes, the real language of dead roman guys!
Location : Shinedown Nation
Re: Aligning Background Image
I want so it's centered and fits to all screen resolutions. (mines 1440x900) It SO off kilter
Seven- Forumember
- Posts : 60
Reputation : 0
Language : English
Re: Aligning Background Image
May I remind you that double/triple posting is not tolerated unless separated by 24 hours. Please use EDIT button.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Aligning Background Image
Sorry about that, I still haven't found what I need, acually I know what I need to put, I'm just sure I know where to put it!
Could someone help me out as to where I would put this? again the forum is flyclan.darkbb.com and I can't figure out where to put this bit of code ( I believe it is correct), My screen resolution is 1440x900, and the forums look absolutely awful without the background centered, natrually the forums and logo are, but not the background... OOOH no >.<
- Code:
body
{
background-repeat:no-repeat;
background-attachment:fixed;
background-position:center;
}
Could someone help me out as to where I would put this? again the forum is flyclan.darkbb.com and I can't figure out where to put this bit of code ( I believe it is correct), My screen resolution is 1440x900, and the forums look absolutely awful without the background centered, natrually the forums and logo are, but not the background... OOOH no >.<
Seven- Forumember
- Posts : 60
Reputation : 0
Language : English
Re: Aligning Background Image
Hello, You can do it like this [ creating an Html page ]
all browsers but not all backgrounds will look good stretched. lol
Edit your image to the desired screen size first then upload it.
It's not going to be the same for all visitors to your page though.
- Code:
<html
<head> <title> Html page title </title>
Your head info/script etc </head>
<body background="Background Url">
<link rel="shortcut icon" href="Address bar favicon Url">
<style>
body
{
background-repeat:no-repeat;
background-attachment:fixed;
background-position:center;
} </style>
Other content
</body>
</html>
all browsers but not all backgrounds will look good stretched. lol
Edit your image to the desired screen size first then upload it.
It's not going to be the same for all visitors to your page though.
ReBoot- New Member
- Posts : 2
Reputation : 0
Language : Ones & Zeros
Location : The Dark Tower
Re: Aligning Background Image
I'm aware that would work if I was creating a new page, I was wanting to do it with the background of my forum, aligning to the center of the page is what i need it to do mainly, but it just wont seem to work and I cant find the proper style sheet to edit
Seven- Forumember
- Posts : 60
Reputation : 0
Language : English
Re: Aligning Background Image
BUMP
Someone Help me Please
Someone Help me Please
Seven- Forumember
- Posts : 60
Reputation : 0
Language : English
Re: Aligning Background Image
You don't have to worry about it, I figured it out, I'm suprised no one could answer me, it was super easy.
Lock please.
Lock please.
Seven- Forumember
- Posts : 60
Reputation : 0
Language : English
Re: Aligning Background Image
Locked as requested by author.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Similar topics
» Background help - aligning for ALL screen sizes OR 2 images to make the background
» image aligning
» Aligning two lines of text next to the image
» Aligning an image left from text in BBcode?
» how to add post background image and log in popup message background image.
» image aligning
» Aligning two lines of text next to the image
» Aligning an image left from text in BBcode?
» how to add post background image and log in popup message background image.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum