Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NO tile Background Image

Status
Not open for further replies.

5656

Technical User
Jan 6, 2001
68
US
This is probably a silly question, but how do you get just a single image that does NOT "tile" to show in your web page as the "background" ?

Thanks.

-joe
 
In the <body> tag where you have the BACKGROUND SRC defined, you add <BGPROPERTIES = &quot;Fixed&quot;> I have not failed; I merely found 100,000 different ways of not succeding...
 
5656,
Just to explain what GUJUm0deL is saying, that will stop the background from scrolling in Internet Explorer. Doesn't work however in NN

aperfectcircle has the correct answer to this post

Good Luck!
 
Just to clear things up, I wasn't sure if 5656 wanted to use CSS tags so I just gave him the basic way of doing it...and yes, DeZiner is correct that the 'BGPROPERTIES' doesn't work in NN just IE... I have not failed; I merely found 100,000 different ways of not succeding...
 
Apparently the style=&quot;background-repeat: no-repeat;&quot; does not work in Netscape...is there any command that will prevent &quot;tiling&quot; of a background in Netscape ?

Thank you once again !!

Joe
 
It will work in Netscape but only if you specify the background image as a style definition too. if the background is specified as an attribute of the body tag then it will tile even if the style is set to no repeat another piece of netscrap stupidity. to specify the background image as a style of the body tag use:

style=&quot;background-image:url(myimage.jpeg); background-repeat:no-repeat;&quot;

this will solve your problem

hope it helps

rob
 
I hate to beat this subject to death, but....when I do as crazyrobert says above, the background image does not tile in Netscape -- the image completely disappears.

Is there a method that will allow an image to be placed in the background of a table and not be tiled in Netscape and IE ?

Thank you once again !
 
What version of Netscape are you using?

[red]style=&quot;background-image: url('/path/image.gif'); background-repeat: no-repeat;&quot;[/red] works for me in 4.78...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top