Solved

Table probs in netscape :)

Posted on 1998-12-15
8
124 Views
Last Modified: 2010-04-09
Hi, I've got a problem displaying a table in netscape (IE does it, thanks to the many things, not conform the html lang) ... here is the code :

<center>
<table border="0" cellpadding="0" cellspacing="0" width="750">
    <tr>
        <td width="151" bgcolor="#000080"><img src="images/logo.gif" width="151" height="100"></td>
        <td bgcolor="#FFFFFF">Testing</td>
        <td width="41" bgcolor="#000080"><img src="images/L.gif" width="41" height="100"></td>
        <td width="82" bgcolor="#000080"><img src="images/R.gif" width="82" height="100"></td>
    </tr>
    <tr><td colspan="4">Dit is een testje<BR>blah blah blah</td></tr>
</table>
</center>

It should show a centered table of 750 width, with 4 cells :
- In the first comes the logo, and nothing else, no space around it nothing.
- In the second, whose width should be the remainder of the table (-cell 3 and 4), the text should be displayed.
- The tirth cell contains the L.gif image
- The fourth cell contains the R.gif image

The problem is : in netscape the images ARE NOT displayed right next to each other on the richt hand of the table, also the cell around the logo.gif image doesn't fit the images exactly, ...
In short, take a look at it using netscape 3 or so earlier ... netscape under linux works also fine to discover the bugs :) ...
Tnx.
Christophe VG
0
Comment
Question by:tofke
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 20

Expert Comment

by:Madshi
Comment Utility
How about writing: <td width="476" bgcolor="#FFFFFF#>Testing</td> ?

Regards, Madshi.
0
 
LVL 4

Expert Comment

by:rafistern
Comment Utility
Or:
<td width="99%" bgcolor="#FFFFFF#>Testing</td>

Madshi's answer is probably more correct but mine will give a low-maintenance solution. i.e. if you resize the images the "Testing" will still automatically expand to fill any remaining space.
0
 
LVL 5

Accepted Solution

by:
j_powers earned 200 total points
Comment Utility
Put the code in this way, and Netscape will read it fine. Take out the <center></center> tag.


<table border="0" cellpadding="0" cellspacing="0" width="750"
border="0" align="center">
    <tr>
        <td width="151" bgcolor="#000080"><img
        src="images/logo.gif" width="151" height="100"></td>
        <td align="center" width="100%" bgcolor="#FFFFFF">Testing</td>
        <td align="center" width="41" bgcolor="#000080"><img
        src="images/L.gif" width="151" height="100"></td>
        <td align="center" width="82" bgcolor="#000080"><img
        src="images/R.gif" width="151" height="100"></td>
    </tr>
    <tr>
        <td colspan="4">Dit is een testje<br>
        blah blah blah</td>
    </tr>
</table>
0
 

Author Comment

by:tofke
Comment Utility
Well, it didn't work like this, but it came close enough for me to get it to work ...
tnx
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 4

Expert Comment

by:rafistern
Comment Utility
I think that j_powers answer copies mine.
0
 
LVL 20

Expert Comment

by:Madshi
Comment Utility
You're right...
0
 
LVL 5

Expert Comment

by:j_powers
Comment Utility
Sorry, but when I answered the question, there were no other responses in the history. Yours showed up when the screen refreshed. However, if you look at my code, I changed more than one frame.
0
 
LVL 4

Expert Comment

by:rafistern
Comment Utility
That is rather hard to believe seeing as my answer was submitted at 6:17 and yours at 7:30! You kept the question on the screen for more than an hour until you answered it?

I deliberately did not "answer" the question seeing as Madshi had already given a valid answer at 4:50 and I wanted to leave it to tofke to decide which answer to accept or both.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Hide IE  and Firefox toolbar 5 49
Joomla Website Malfunction 9 48
aligning image inside table cell 4 25
HTML CSS 7 14
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now