nutscrape and ie

davidjaymz's picture

He has: 193 posts

Joined: Jul 2001

okay, I need help... My page for my companys website is starting to look ok. the company like it and there aren't too many problems (apart form golive code) but it doesn't work in nutscrape. (4.7 & 6.1) neither show the table colours right and the menu location is off and bah, if you could have a look and tell me what i'm doing wrong i'd be grateful...
http://www.davidjaymz.com/harcon
thanks in advance

DavidJaymz

detox's picture

They have: 571 posts

Joined: Feb 2001

first things first with the spaces in the blue in Nutscrape, it doesn;t like the 2 pixel cellspacing, that's why the bgcolor breaks. Secondly I will never trust NN when it comes to whole page layouts with percentages (no matter what people say!) It is just too inexact at crucial times.
Third and most important thing is the menu system, No offence but there are way better systems than that out there. Check out bratta.com . You would only need to change a few files, and copy text for the menu over. The bratta and heirachical menu's (from dhtml dynomat) are way better than this one. They hold positioning way better. Other thing is I personally dont trust Go Live's code.

Sorry if this is a critique rather than help.

davidjaymz's picture

He has: 193 posts

Joined: Jul 2001

thanks for the 'critique'. if I can't use cell padding what else can i use to keep the text away from the cell walls. (although cos my borders are 0, maybe that doesn't matter) although nutscrape is still showing borders where i tell it not to...
i'm looking at bratta.com now...

DavidJaymz

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

1. htmlvalidator.com -- go for the pro version. Really. It will save your hair.

2. Height in isn't valid, nor is "align="top"" in (valign="top").

3. Alt attributes needed in your image tags (not that that will mess anything up, it's just good practice).

4. Of course you can use cellpadding -- ?! That's just daft to not use cellpadding.

5. If you're not getting the table colours right in Netscape 6.1, you have a different issue. Netscape 4.x will require an image as well or instead of bgcolor if you are mixing HTML and CSS in the same page, and definitely if you are just using HTML. Netscape 6.1 prefers everything in the CSS, so just use a class.

I don't know what the problem would be, though -- you have two colours, white and blue. If the problem is the blue is different, that's the rendering engine in Netscape -- try browser safe colours.

6. Menu -- not visible in Opera if it's supposed to be moving.

hth a little.

Smiling Suzanne

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Quote: Originally posted by Suzanne
3. Alt attributes needed in your image tags (not that that will mess anything up, it's just good practice).

Actually, you need to have ALT tags. It's required by the ADA (Americans with Disabilities Act of 1990).

Don't ask me anything else about it. Just something I remember from a class I took a few months ago.

Mark Hensler
If there is no answer on Google, then there is no question.

davidjaymz's picture

He has: 193 posts

Joined: Jul 2001

ok... Using html validator I went through my code for this page http://www.davidjaymz.com/harcon/newmenu.html and there is only one error:
"The "height" attribute is not valid for a "tr" element."

I also went to bratta.com and downloaded his coolmenu. this is in use on only this file at the moment, its a pig (in my opinion)to customize and I've got to keep things simple for the people who will do this site after me. and it still isn't in the correct location on nutscrape... again if people can spot whats up with my code i'd appreciate it.
In nutscrape 4.7 the problems are:
The first border around the menu is a stupid pink colour where as the border on the drop downs are the correct blue colour...
In nutscrape 6.1 the problems are:
alt texts are showing for the spacer gif in the bottom row of the holding table and the end columns of the holding table aren't there although they are done the same way as the bottom row and the menus not aligned in the right place and whats with the blue stripe just below and to the right...

As always any info's welcome and I'm sure one day netscape and microsoft will talk for five minutes and make sure that there browsers display common things the same...

DavidJaymz
Confused :annoyed:

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

if you don't want the alt attribute value to show, use alt="" with no spaces between the quotes. Additionally, check to make sure the spacer image is actually there, as the alt text only shows in N6 when the image can't be found or doesn't load. As usual, check your code first.

I actually find it fairly offensive that you keep calling Netscape nutscrape.

If you want the site to be easy to maintain, don't use DHTML for navigation. Not only will it fail for lower browsers, some advanced users may be left out of the loop and future users as well. Unless the people maintaining the site will be proficient in DHTML, using a dynamic menu is going to be more of a pain than less of one.

You seem to have a JavaScript error -- event is spelled evnt? Not sure.

I would check it in Netscape 4.x, but it crashed it twice on your page (no other pages open) and I just don't have the patience to test it. The DHTML menu doesn't show at all in Opera.

If the issue is the DHTML script, a link to it would be helpful rather than to just the page where it's used.

I can't see where the border is a different colour, but as I mentioned, it keeps crashing my Netscape 4.7 browser.

Suzanne

davidjaymz's picture

He has: 193 posts

Joined: Jul 2001

First let me say sorry for referring to netscape as nutscrape... Its a term we use at uni...
Ok I decided to go with the older JS menu I was using it is easier to customize...
I also sorted out the problems of spacing so thanks for all your help

DavidJaymz

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

I don't know why I find it offensive!

I get just as annoyed hearing people say Internet Destroyer, too.

I'm just a big crank lately... Wink

Glad you have resolved the issues, and really, good luck with the project!

Smiling Suzanne

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

windoze ... pack N toss ... world wide wait ... plug N pray

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

You taunting me, Mark!?

Laughing out loud Suzanne

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Who? ME?
Of course not!

Wink

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Actually here is a little tip to use cellspacing and keep the background color from bleeding through. What I do is to put everything is a two tables. Both of the tables are the same size. They both have the same background color. Table 2 is nested in table 1. Table 1 has cellspacing set to 0. Table 2 cellspacing can be whatever you want it to be. Here is an example:

<table border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF width="760">
<tr>
<td valign="top">
<table border="0" cellspacing="10" cellpadding="0" align="center" bgcolor="#FFFFFF width="760">
<tr>
<td>Content</td>
</tr>
</table>
</td>
</tr>
</table>
'

Works like a charm in Netscape. The background color still bleeds through but it is the same color as the table so you can't see it. HTH.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.