Jump to content
xisto Community
Sign in to follow this  
~Dave

Background Question :)

Recommended Posts

you gotta have a bigger size backround. Or you must do the whole thing in css, which I can't help with. But the easiest route is make your bacrkound image better.

Share this post


Link to post
Share on other sites

ya I'm thinking of just useing Dreamweaver because doing it myself in notepad++ is just too hard when I only know HTML so :/ but I thought I should try because my buddy is making me a login script // database with his because I get free server space so we just combine members into 1 forum. but I think I'm just gunna get dreamweaver or use frontpage for this :/ because it seems too hard :|

Share this post


Link to post
Share on other sites

actually this is quite simple really just apply the following code to your images in CSS or style in your code and you are done

 

background-repeat:no-repeat;

Share this post


Link to post
Share on other sites

actually this is quite simple really just apply the following code to your images in CSS or style in your code and you are done

 

background-repeat:no-repeat;

I dont know CSS though :/

Share this post


Link to post
Share on other sites

im sure you can just do..

<style></style>

or something like that, because I know that works with some css. But I've never tried it. You can do it in html, but it SHOULDNT repeat if you do it correctly, using <DIV> tags. Otherwise IDK sorry :\

Share this post


Link to post
Share on other sites

if u slice using photoshop it takes less then a minute to code in html/css format. Its not bad at all actually, plus they give u the slices and coding, no edited needed, and it fills entire page, no stretch no nothing :lol:

Share this post


Link to post
Share on other sites

well there are several sites that you can go to learn CSS

http://www.w3schools.com/
http://www.pixel2life.com/
http://www.alvit.de/handbook/

but a quick shortcut this how your image style would look like

CSS Version

#mainContainer {	background-image: url("img/content_main.png");	background-repeat: no-repeat;		width: 100%;		height: 100%;	}

You would apply that to every image you have that you don't want to repeat and then in order to display it in your html file would do something like this:

<div id="mainContainer"></div>

also to make sure it works you will have link your style sheet in between your <head> tags which w3school.com covers. Now to do it the other way your your image code will look something like this

<img src="yourimagehere.jpg" style="background-repeat: no-repeat;">

either method works, but using the CSS method is more efficient and your your html file will be more organized.

Share this post


Link to post
Share on other sites

Past the following code in a file named style.css

body {	background: #000 url('images/your-bg-image.gif');	}

Then paste the following code in the header of the html or php file you wish to show the background in.
<link rel="stylesheet" type="text/css" href="style.css"  />

Share this post


Link to post
Share on other sites

Just a suggestion for the site, It would look better if the top banner that said gaming alliance was centered. I know that that was your intention, but I'm sure your one of those people who have an extremely small resolution such as 800x600 and the normal people would like to benefit from your site as well. :lol:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.