Link to home
Start Free TrialLog in
Avatar of tofke
tofke

asked on

Table probs in netscape :)

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
Avatar of Madshi
Madshi

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

Regards, Madshi.
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.
ASKER CERTIFIED SOLUTION
Avatar of j_powers
j_powers

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tofke

ASKER

Well, it didn't work like this, but it came close enough for me to get it to work ...
tnx
I think that j_powers answer copies mine.
You're right...
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.
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.