Netscape 7 oddity

E

Ed Vul

So I have a PHP script that displays a picture and then goes on to the
next one, for the sake of a survey.

Now, the code works fine in IE 6, NN 4 (how can anything work fine in NN
4, you may ask, but it does).
However, in netscape 7.1 or whatever the latest one is,
it only displays the lower 50 pixels of the pictures...

I can't wrap my mind around what could possibly be the problem...
the code is here:

I know its set to hidden, but the script changes it to visible.. once it
becomes visible, only the lower 50px show...

Any ideas?



<table width=640 border=0 cellpadding=1 cellspacing=0>
<tr><td colspan="2" align=center>
<span name="mtest" id="mtest"
style="visibility:hidden;position:relative; font-size: 20px;">
<img src="pics/mpic.jpg" onLoad="javascript: var timerx =
setTimeout('go();',100);">
<br>text.
<br>
</span>
</td></tr>
</table>
 
D

DU

Ed said:
So I have a PHP script that displays a picture and then goes on to the
next one, for the sake of a survey.

Now, the code works fine in IE 6, NN 4 (how can anything work fine in NN
4, you may ask, but it does).
However, in netscape 7.1 or whatever the latest one is,
it only displays the lower 50 pixels of the pictures...

I can't wrap my mind around what could possibly be the problem...
the code is here:

I know its set to hidden, but the script changes it to visible.. once it
becomes visible, only the lower 50px show...

Any ideas?



<table width=640 border=0 cellpadding=1 cellspacing=0>
<tr><td colspan="2" align=center>
<span name="mtest" id="mtest"
style="visibility:hidden;position:relative; font-size: 20px;">
<img src="pics/mpic.jpg" onLoad="javascript: var timerx =
setTimeout('go();',100);">
<br>text.
<br>
</span>
</td></tr>
</table>

Without seeing the whole page code or an url, it's impossible to figure
out the reason for the 50px differential.
I note that you do not quote all your attribute values and I recommend
doing that. Also, writing "javascript:" in your onload event handler
achieves nothing.

Have you checked the markup of your whole page with a validator?

DU
 
E

Ed Vul

After a long and grueling session of deconstructing my code (which was
CSS validated) it turned out that netscape was getting screwed up
because the overarching SPAN had a position:relative; whereas the Image
had no position declaration.. setting image position to relative fixed
the issue.

I hate netscape.

Ed
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,075
Messages
2,570,562
Members
47,198
Latest member
MariD92844

Latest Threads

Top