On Tue, 28 Sep 2004 20:09:51 GMT, Norman Swartz <sw****@sfu.ca> wrote:
OS system is Windows XP Pro SP2.
The following works perfectly in IE but not at all in Netscape:
<tr>
<td valign="middle" background="dull.gif"
onMouseOver="this.background='bright.gif';"
onMouseOut="this.background='dull.gif';"
You should probably be using the style object.
bgcolor="#FFFFFF">
<img src="vspacer.gif" height="46" width="20" align="left">
A spacer GIF? See below.
<span style = "font-size : 6pt"> <br></span>
If you need some spacing, place a top margin on the link, or a bottom
margin on the image. Don't hack with non-breaking spaces and font sizes.
The Web should be moving past that rubbish now.
<span style="color : 000000; font-size : 9 pt;
A hash (#) is required to prefix three- or six digit hexadecimal colour
codes.
Don't use pt, px, or any other fixed measurement for font sizes. It makes
text affected by them impossible to resize in some browsers. Use ems or
percentages instead.
font-family : arial, sanserif">
That should be:
font-family: Arial, sans-serif;
<a href="./notices/board.htm"><b>Notice Board</b></a></span></td>
</tr>
As a general comment, why the piecemeal approach to CSS? Everything that
you seem to be attempting can be done with CSS[1] yet you've got some
presentational HTML, some CSS, and some HTML hacks that you'd only expect
from errant WYSIWYG programs like FrontPage.
Documents should now be written with Strict HTML and CSS, unless it's a
legacy page that would take too much effort to fix, or that needs to be
Transitional for some other reason. Be forward-looking, not stuck in the
past!
It's as if Javascript is turned off in Netscape. Is that an effect of
installing XP SP2?
It shouldn't be. Netscape's JavaScript implementation is completely
separate from Microsoft's. Any changes to one should have no effect on the
other. I have SP2 and Netscape executes scripts with no problem. I assume
you've checked for error messages?
How do I get Javascript to work in Netscape?
By selecting it in the options. :P
Seriously though, write a very small, simple test page. A lone alert will
do. If you get nothing, consider reinstalling Netscape.
Good luck,
Mike
[1] Yes that includes the mouse-over, but it won't be supported by IE so
we'll ignore that for the time being.
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.