4 replies [Last post]
Sushubh
Sushubh's picture
Offline
Regular
Last seen: 19 years 48 weeks ago
Joined: 2003-07-04
Posts: 17
Points: 0

How to do it?

My Blog | Why Opera? 1 2 4

Daybreak_0
Offline
Enthusiast
Sydney, Australia
Last seen: 19 years 29 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

BG CSS in netscape 4.7

Could you please provide more details. At the moment am guessing you want to provide css rules for netscape 4.7.

Day

The only way to learn is to do it yourself

Sushubh
Sushubh's picture
Offline
Regular
Last seen: 19 years 48 weeks ago
Joined: 2003-07-04
Posts: 17
Points: 0

Oh :P

I thought it was a common issue thats why skipped the detail.

I want to specify a Background Image to a HTML page and a Table using CSS and I want it to work in Netscape 4.x Shock

My Blog | Why Opera? 1 2 4

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 3 weeks 3 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

BG CSS in netscape 4.7

Hi Sushubh,
background-image:url(image.jpg); should work in Netscape 4.

Hope that helps

Daybreak_0
Offline
Enthusiast
Sydney, Australia
Last seen: 19 years 29 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

BG CSS in netscape 4.7

Hmm not sure myself but - apparently background image for body works in nn4 and there is a workaround for tables.

background image for body

BODY { background-image: url(image.gif);
background-repeat: repeat;
 }

Although background repeat Y and X only partially work.

Reference: http://devedge.netscape.com/library/xref/2003/css-support/css1/mastergrid.html and others

tables also work by having a 1 cell table with background image and then nesting another table (many cells ) within it so background shines through. The trick is the inside table must be marked background = " " as per following

<TABLE BORDER="0" 
     BACKGROUND="yourPic.jpg">
  <TR>
    <TD>
    <TABLE BORDER="0" 
         BACKGROUND="">
      <TR>
        <TD> </TD>
        <TD> </TD>
      </TR>
      <TR>
        <TD> </TD>
        <TD> </TD>
      </TR>
      <TR>
        <TD> </TD>
        <TD> </TD>
      </TR>
    </TABLE>
    </TD>
  </TR>
</TABLE>

Reference: http://www.netmechanic.com/news/vol3/html_no8.htm

Good luck
Day

The only way to learn is to do it yourself