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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with no-repeat backgrounds

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi,
i want to position my background image so that it will look lik e the background for a table which is on the html page...it seems to work in Internet Explorer but in Netscape it seems to be taking it as a seperate background image for each td in that table...can u help me out???
the code i wrote is a stylesheet which goes like this...
<style type=&quot;text/css&quot;>
BODY { background: url(myImage.gif) center no-repeat }
</style>

give me the suggestions regarding the query i made...hope it is soon...
directoress
 
Well extually i think u cant make it work in Netscape, maybe with scripts. But i see no way to do this.

MiQ
mcvdmvs@mcvdmvs.net
Yeah, well, erhm, ok... I'm busy trying to teach myself JavaScript, C++, Java and other webrelated stuff.
 
The only way I know is by physically slicing the image and placing each slice into the corresponding cell...otherwise, hats off to the beautiful people at Netscape...blaghck!
 
WebTechniques magazine had a solution to the problem in a letter from a user. The solution is to wrap your table in another table. The outer table has the background image and the inner table has a transparent gif as a background to work around some of Netscape's foibles.

The letter is the first one on the page at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top