A picture as background

SpaceshipSpaceship
Watch

maryam

New Member
Impact
0
I want to put a jpg file as the background of my page but it repeats horizontaly and vertically how and by which program can I place the jpg in the background of my page that it doesn't repeat?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Open your page in notepad.
Look for your <body> tag.
Change it to... <body background="pathtoimage.jpg">
Change the image name to the name of your image.
Upload your page and image to your webhost, and you're done! :)
 
0
•••
no jon
a bg that is not repeat needs more then that it needs CSS with no repeat parameter :blink:
 
0
•••
Ahh, sorry i miss read the first post.
 
0
•••
in css do

body {background-repeat: no-repeat;}
 
0
•••
popup

I put a swf file as the header of my html page, but windows popup prevents showing it and it wants the allow blocked contents from viewer. how can I prevent windows popups when a swf file is placed in my html file?
 
0
•••
maryam said:
I put a swf file as the header of my html page, but windows popup prevents showing it and it wants the allow blocked contents from viewer. how can I prevent windows popups when a swf file is placed in my html file?

Are you still trying to view it from your local machine? If so, thats the reason, once it is published on the web that should not appear.

Regards
Brian
 
0
•••
For a start it should be a .gif, .jpg should not be used for a background....
 
0
•••
talkfreelance said:
For a start it should be a .gif, .jpg should not be used for a background....

that all depends :)

but as Red Eyes already stated, body {background-repeat: no-repeat;} or put bgproperties=fixed in the <body> tag.
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
NameMaxi - Your Domain Has Buyers
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back