Forum Moderators: open

Message Too Old, No Replies

Background Image -No-Repeat Netscape 4.77

Background Image No Repeat Setting for Netscape

         

Prometheus

8:54 pm on Jul 23, 2001 (gmt 0)

10+ Year Member



I have been doing some work on a website but have been having problems with netscape in that I cannot get it to not repeat a background image.
I have used two methods:
i. Style Sheets
ii. Coding in body of html document -
<body bgcolor="#FFFFFF" text="#000000" body style="background-repeat:no-repeat" background="images/background.gif">
Both of the above work in IE but not Netscape.
Any ideas???
Thanks in advance.

EX_S

11:37 pm on Jul 23, 2001 (gmt 0)

10+ Year Member



Try nesting the tables with the background in the outer table and BACKGROUND="" for the inner table. Seems to work in all browsers.

talksure

6:22 am on Sep 20, 2001 (gmt 0)



You can use style sheet attrubite that works in IE and NS 4.76 upwards

CSS
.body_backgrnd{ background-image: url(/img/liberty_bgnd_big.jpg); background-repeat: no-repeat}
Body tag
background class="body_backgrnd"

The most suitable if possible is to set the bg image to 1700x max heigh of page (3600px) would be more than enough - if you page is longer than that it is too long for most users to bother reading through.

Best of luck
Harley Milne

(edited by: tedster at 6:37 am (gmt) on Sep. 20, 2001