View Full Version : adding a backround picture
How do i add a backround picture to my webpage? A picture that i will be able to write over
scraminc
02-08-2007, 04:25 AM
You can do <body background="http://blah.com/img.jpg"> - when you do this, you only do this body tag. <body background="http://blah.com/img.jpg"> counts as both <body> and the background image. :)
You may look at http://www.htmlcodetutorial.com/document/_BODY_BACKGROUND.html for further reference. :)
pixelhero
02-09-2007, 06:55 PM
also, you could use this in your <head> section:
<style>
body {
background: url(http://something.com/image.jpg) center center no-repeat;
}
</style>
or if the image is on your site in an images folder:
<body background="images/img.jpg">
pixellabs
02-19-2007, 12:24 PM
also, you could use this in your <head> section:
<style>
body {
background: url(http://something.com/image.jpg) center center no-repeat;
}
</style>
This is probably the best option, by adding it into your CSS section :D.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.