Jump to content



Recommended Posts

uhm... firstly, maybe you should use css for setting background in a page

<style type="text/css">body{ background-image: url(background.gif); background-color: #000000;background-repeat: no-repeat}</style>

Put that code between <head></head> or you can put it in an external css file.The background-color property will serve as the fail safe if ever ur background image fails to load. it is advisable to do this. trust me.The background repeat property will let you specify how the background image will be repeated. here we set it to no-repeat meaning the background will not be repeated or tiled whatsoever. If your asking how to make a small background go big or increase its size, for example make a 50x50 px background appear in the screen like it was 800x600 px then i dont think it is possible. There is no property for setting background width and height.The most that you can do is use a larger image.To read more about backgrounds click this ---> http://www.w3schools.com/css/css_background.aspHope it helps! :)

Link to comment
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

  • Create New...