Solved

Tables in Netscape

Posted on 1998-07-29
7
202 Views
Last Modified: 2013-12-25
I am trying to make a table that will have a border above it that contains a background image, it works in msie but not in Netscape. Here is the table I am using, what can I do to make it work in both? This table in imbedded inside another table if it makes any difference, no bg color or image was specified for the other table

<TABLE CELLPADDING=3 CELLSPACING=0 WIDTH=100% BORDER=3>
<TR><TD  BACKGROUND="../images/bgtables.jpg" HEIGHT="8"></TD></TR>
<TR>
<CENTER><TD>text here</TD></CENTER>
</TR></TABLE>
0
Comment
Question by:timshank
  • 4
  • 2
7 Comments
 
LVL 10

Expert Comment

by:MasseyM
ID: 1858732
The background images in Navigator does not work... You could do something like this:
<TABLE CELLPADDING=-10 CELLSPACING=-10>
   <TR>
   <TD COLSPAN="3"><IMG SRC = "topborder.gif"></TD>
   </TR>
   <TR>
      <TD><IMG SRC="sideborder.gif"></TD>
      <TD>
      <TABLE>
          your table here
      </TABLE>
      </TD>
      <TD><IMG SRC="sideborder.gif></TD>
   </TR>
   <TR>
   <TD COLSPAN=3><IMG SRC = "topborder.gif"></TD>
   </TR>
</TABLE>

That will make top, bottom, and side borders...

- Matt
0
 

Author Comment

by:timshank
ID: 1858733
close, but it wont tile the image
0
 

Author Comment

by:timshank
ID: 1858734
close, but it wont tile the image
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 1

Accepted Solution

by:
davejenkins earned 20 total points
ID: 1858735
Tim,

Massey's solution will work, with one modification:

<table border=0 cellpadding=0 cellspacing=0>

You must eliminate all spaces between cells, then is will tile correctly.

dave.
0
 

Author Comment

by:timshank
ID: 1858736
thank you
0
 
LVL 1

Expert Comment

by:davejenkins
ID: 1858737
You're welcome.

How many points was that worth?  Massey desrves some of the points--  I would like to give them to him.  . .
0
 

Author Comment

by:timshank
ID: 1858738
I believe it was worth 25. Not any less than that.

0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Read about why website design really matters in today's demanding market.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question