CSS and NS

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

I am just finishing up my web site and have used CSS. I know that the link color change on mouseover doesn't work with Netscape 4. What can I do if anything so that NS viewers can see the link color change on rollover? Or should I just not worry about it?

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

I think that it works in NS 6.1 but anything lower than that it won't work. I look at it like this. It is just an effect. It doesn't really do anything functionally. It also doesn't make any difference in the looks either except when the link is rolled over. I personally would not worry about it.

The only other option is to code in some javascript rollovers but these require javascript. I know a fair amount of people that turn off js in their browser to prevent popups so you're incompatible again.

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

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

I really didn't want to do the js thing so I will just let it be. I wanted to see if I had any other options before I put my site in the critique area. I know there will be some who will critique about it not being 'totally' compatable with every ancient browser there is. LOL
Why anyone would want to use an outdated browser (or Netscape) is beyond me anyway. That is kinda like watching a black and white TV huh?

Thanks and have a great day! Wink

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

I think there is some sort of complicated dHTML script that you could use to change the text colour on mouseover but from what I know of it this is *way* too complicated to be worth it. I'm sure NS users are used to this so don't worry about it.

People aren't *that* picky about compatibility in crits are they? I guess we all have different philosophies when it comes to that.

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

I am laughing right now because after I posted this morning, I thought to myself..."I'll bet megan replies to this message"....LOL
ESP maybe??? Wink

Hope you didn't take offense to the NS comment Megan. Didn't mean any harm by that....just a personal preference.

I guess I just got burned so bad the last time I posted my "complicated dhtml menu" that I am a little shy about posting again.

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Well, the thing is NS users will not see any errors. They just won't see the effect. So they won't know what they are missing.

DM, go ahead and kick that site over for review. Megan and I haven't given anyone a good thrashing over there in a couple of hours at least. As far as why people use NS, there are several reasons. One would be that they use an OS like Linux, where there is no IE. Another is that they have always used NS. Another would be for a little better security against things like Nimbda. Still another would be it is not a Microsoft product. NS is a fine capable browser that adheres to stricter rules than IE. IE codes so loose that you can leave empty cells and unclosed tags with no problem. I had a guy on another board post a site for review. He had a nice looking site that didn't line up in NS. When told of this, his response was that he designed it for IE. The silly thing about was the fix was so easy. All he had to do was put marginwidth=0 marginheight=0 in the body tag.

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

Busy's picture

He has: 6,151 posts

Joined: May 2001

They work ok in Netscape 6, go ahead and do as you plan, the netscape 4.7 and below will just have default links and square text (default).

Remember the saying, there is always someone worse off than yourself?
I redid an old site of mine with style sheets, to xhtml specs, works great in ie5 and net 6, looks like a dogs breakfast in Net 4.7, hopefully if i can upload it soon I'll show it in the critqie area, even thou i use net 4.7 more than net 6 I've decided to leave it as it is, apart form the link and text size, its only a graphic/transparency thing that doesnt effect the actually content.

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

It isn't quiet ready yet. I still have a few little things here and there to finish. Guess I just better get over my shyness about the critique. It wasn't so bad when it was someone elses site but this is my personal site and I will be really embarrassed if it looks like the dogs breakfast as busy says...hehe.

As for the browsers, I guess it is just what you are used to. I have used NS several times and things just look funky to me. eeeekkkk!! I know they both have their pros and cons.
I try to be a good little webmaster and design for both but it is probably the hardest part of the job. I was telling someone the other day that IE was a very "forgiving" browser. If you can design a site and make it perfect in NS that makes you dang good. (meg will like that comment Wink)Oh well, does a body good to have a challenge every now and then.

I may be ready to post it by Sunday so that you guys and gals can give me a good thrashing. I'll be sweatin' bullets til then.

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

LOL! I'm not really that bad with the cross-browser stuff really - just with mozilla/NS6 because that's what I use. You're going to have to ask Busy for the NS 4.x comments Smiling

Busy's picture

He has: 6,151 posts

Joined: May 2001

I used to make my sites on IE and then rework them to work on Netscape, now I make them on Netscape (still at 4.7)and find I don't have to do much to get it looking the same on IE, sometimes a little fine tuning here and there. mostly just table backgrounds etc.

Also depends what you use, if its just basic ole HTML, there isnt much that can go wrong, but once you get into CSS etc thats when you get problems.

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

I usually build mine with Homesite, Photoshop, IE, NS 4.7 and Opera open at the same time. Opera supports stylesheets better than NS but only halfway. For instance, if you decided to do something like this for some unbeknownst reason:

A { text-decoration:none; font-weight:bold}
A:link { color:#003366}
A:visited { text-decoration:none; color:#003366 }
A:active {  text-decoration:none; color:#003366 }
A:hover {
text-decoration:underline;
color:#FF9900;
letter-spacing : .2em;
text-transform : uppercase;
font-size : 15em;
background-color : #FFFFFF;
}
'
The different browsers display it like so:
IE - normal sized text rolled over to a huge uppercase, underlined text.
NS - normal sized text with no rollover effect.
Opera - normal sized text rolled over to an underlined, lowercase, huge text. The only problem is that the text expands but the cell doesn't. Kind of weird.

I actually like the effect of going up a font size or two, making it all uppercase and changing the letter spacing. Anyway I think I have too much time on my hands.

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

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi,

I'm on shaky ground here, but doesn't NN prefer lowerUpper case over hyphens in its CSS? sort of:

textDecoration, fontSize, etc.

Vinny

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Vincent, I really didn't know that the order made a difference. I'll experiment and see.

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Interesting! I've never seen it done that way.

I find that with enough practice I don't have to do too much checking to know what will and will not work properly in NS.

Another thing with stylehseets is that NS can be picky about the order of things, especially with font specs (like font-face has to be last).

Edit: Ooops! Font-family! I still mix that up sometimes.

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.