Jump to content

Backround image


spoony

Recommended Posts

Yes you have to :(Take some site as PhotoBucket or similar :DWhen you've done that, remember the link where it is stored.Then on the document you want the picture at:

<html><head><title>My first background</title><style type="text/css">body { background-image:url(your_image_link_here) }</style></head><body>this is my first page, it has my own background image!</body></html>
:) :)
Link to comment
Share on other sites

Hey, Im sorry if this has been answered a million times before..but im dumb! :) ... so anyhows........I want to install a background image which I have hosted with Photobucket can you tell me if .......a. the image has to be inserted within the head tags on the html docb. should the image not be on the external css which im linking too?c. Will the background and site layout be visible when im just viewing the layout without the documents being hosted?I hope this make sense?!! :)

Link to comment
Share on other sites

if you want to put the code in the page, then its in the body tag

<body background="whatever.jpeg">

or by using an external css file -

body {background-image:url('whatever.jpg')}

and thats with the image file in the folder with your page on the server, not a seperate website.

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