A picture as background

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
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
Close
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
Close
no jon
a bg that is not repeat needs more then that it needs CSS with no repeat parameter :blink:
 
0
Close
Ahh, sorry i miss read the first post.
 
0
Close
in css do

body {background-repeat: no-repeat;}
 
0
Close
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
Close
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
Close
For a start it should be a .gif, .jpg should not be used for a background....
 
0
Close
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
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back