View Full Version : [Html] Background Image
Replicada
31-12-2006, 12:28 PM
I was scowering the boards for some free fansite layouts and i found some, however they are all image files and not html files.
Just wondering how i can use them :S
If i format the image to background in forntpage it simply mass layers it everywhere. By that i mean the image and identical image beside it.
All i want is to use a gif image of a background i found.
Any help would be appreciated :S
Slightly confused..
CJ-real
31-12-2006, 12:31 PM
In the HEAD section of your page you put this:
<style type="text/css">
<!--
body {
background-image: url(http://yourside.com/yourdirectory/imagename.extension);
background-repeat: no-repeat;
}
-->
</style>
Put the above under the <TITLE> or something
OR
In the BODY part of your page you put this:
<body background="http://yourside.com/yourdirectory/imagename.extension">
PinkFM
31-12-2006, 12:31 PM
Take a screen shot to get the bit you want?
:S
Sorry if no help.
Didn't really understand what you want :]
omgDAN!
31-12-2006, 12:33 PM
use css.
CJ-real
31-12-2006, 12:40 PM
Use what I said.
Seeing as it looks like you don't have that much HTMl knowledge (no offence), you need to cram everything in the 1 page
Replicada
31-12-2006, 12:42 PM
I tried the css script but when i hit preview in frontpage it simply appears as a sunk square with the css code in it.
The bottom code you gave me is the identical to formatting the image into the background. Of which when i do that, gives me multiple images all over the page instead of just one.
Annoying how 1 task is so complicated..
+ rep for you all that help anyhow
I appreciate it.
Edit...
Tis working now, cheers everyone :) +rep for you all
CJ-real
31-12-2006, 12:43 PM
Frontpage doesn't recognise this.
Try uploading the file it will work :)
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.