13 replies [Last post]
Stu
Stu's picture
Offline
Enthusiast
Bristol uk
Last seen: 15 years 38 weeks ago
Bristol uk
Joined: 2004-01-20
Posts: 282
Points: 0

Does anyone know of a css hack that will just target NN7?
I have searched Google but no luck.

Thanks

It's not what you do it's the way that you do it.
So do it with STYLE
http://www.s7u.co.uk

Daybreak_0
Offline
Enthusiast
Sydney, Australia
Last seen: 15 years 48 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

Targeting NN7 only

I don't think that there is - everything I have seen works for Moz as well.

Have you considered javascript and browser sniffing -

http://www.macedition.com/cb/cb_20020909.php
http://www.webreference.com/tools/browser/javascript.html

Regards
Day

The only way to learn is to do it yourself

Stu
Stu's picture
Offline
Enthusiast
Bristol uk
Last seen: 15 years 38 weeks ago
Bristol uk
Joined: 2004-01-20
Posts: 282
Points: 0

Targeting NN7 only

Thanks Day, this is what I have found.
I'd rather not use javascript if I can find a css hack. I'll carry on looking or maybe even find my own (as if).

This is for my latest attempt at tabbed menus using just css (no images) that works in mozilla but not NN7 (which has a 1px error).

http://www.stunicholls.myby.co.uk/menus/doors-two.html

Even works in IE5.01 and IE5.5

It's not what you do it's the way that you do it.
So do it with STYLE
http://www.s7u.co.uk

Daybreak_0
Offline
Enthusiast
Sydney, Australia
Last seen: 15 years 48 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

Targeting NN7 only

Well I pulled your page up in IE6, FF 0.8, and NN7, kept swapping for each but for the life of me could not see any problem. Both Moz nad NN7 were exactly the same - which should be expected. IE was slightly different but no actual real difference.

Could it be you have a different default font or something set up in NN7?

If not where is this 1px difference.

Regards
Day

The only way to learn is to do it yourself

Stu
Stu's picture
Offline
Enthusiast
Bristol uk
Last seen: 15 years 38 weeks ago
Bristol uk
Joined: 2004-01-20
Posts: 282
Points: 0

Targeting NN7 only

That's odd.
On my version of NN7 the bottom border of the left and right spans (the ones containing the curved corners) is 1px higher than the span holding the link text.

I don't have access to my home machine at the moment but will check the default font tonight.

Thanks for the feedback, it looks as though there may not be a problem after all.

It's not what you do it's the way that you do it.
So do it with STYLE
http://www.s7u.co.uk

co2
co2's picture
Offline
Leader
UK
Last seen: 11 years 26 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

Targeting NN7 only

I've been looking for a NS6 only hack also. It's nigh on impossible to find a hack between NS6 and 7. Sad

I'd gladly swap hacks, but I couldn't find any! Crying

(My current project is great in NS7, but really messed up in NS6)! Oups

The next sentence is true. The previous sentence is false. Discuss...

Stu
Stu's picture
Offline
Enthusiast
Bristol uk
Last seen: 15 years 38 weeks ago
Bristol uk
Joined: 2004-01-20
Posts: 282
Points: 0

Targeting NN7 only

Mmm.... there must be a way.

In the mean time could you just check my link above to see if it looks ok in NN7? Ta.

It's not what you do it's the way that you do it.
So do it with STYLE
http://www.s7u.co.uk

co2
co2's picture
Offline
Leader
UK
Last seen: 11 years 26 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

Targeting NN7 only

Hi Stu

The good news is that it is 100% fine in NS7. Looks spot on the same as IE6.

However, I checked in NS6 and it's not good. Here's the screengrab...

Guess where in the same boat now :twisted: :twisted:

Get searching and tell me what you find! Tongue :twisted:

The next sentence is true. The previous sentence is false. Discuss...

co2
co2's picture
Offline
Leader
UK
Last seen: 11 years 26 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

Targeting NN7 only

Guess you're gonna tell me NS6 doesn't matter to you... Crying Laughing out loud

The next sentence is true. The previous sentence is false. Discuss...

Stu
Stu's picture
Offline
Enthusiast
Bristol uk
Last seen: 15 years 38 weeks ago
Bristol uk
Joined: 2004-01-20
Posts: 282
Points: 0

Targeting NN7 only

Wink spot on.
'Cutting Edge CSS' is for the latest browser version (gets me out of a lot of problems).

But I think I can see an answer to this one.

It's not what you do it's the way that you do it.
So do it with STYLE
http://www.s7u.co.uk

co2
co2's picture
Offline
Leader
UK
Last seen: 11 years 26 weeks ago
UK
Joined: 2003-09-17
Posts: 721
Points: 0

Targeting NN7 only

Wish I could say the same... I got this site working in everything (IE, Moz, Safari etc.)

Only NS6 is playing up. Wouldn't mind but the client is insisting that it works, even though their web stats show virtually no users using it!

Oh for an 'upgrade to NS7 you lazy sods!' notice! :roll:

The next sentence is true. The previous sentence is false. Discuss...

Stu
Stu's picture
Offline
Enthusiast
Bristol uk
Last seen: 15 years 38 weeks ago
Bristol uk
Joined: 2004-01-20
Posts: 282
Points: 0

Targeting NN7 only

Just tried everything to make my NN7 behave, but to no avail.
Which version are you using?
I have ~
Netscape 7.0
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823

Screen shot of image http://www.stunicholls.myby.co.uk/cssforum/error.gif

It's not what you do it's the way that you do it.
So do it with STYLE
http://www.s7u.co.uk

Stu
Stu's picture
Offline
Enthusiast
Bristol uk
Last seen: 15 years 38 weeks ago
Bristol uk
Joined: 2004-01-20
Posts: 282
Points: 0

Targeting NN7 only

Ok, just upgraded to 7.1 and all is ok.

It's not what you do it's the way that you do it.
So do it with STYLE
http://www.s7u.co.uk

Daybreak_0
Offline
Enthusiast
Sydney, Australia
Last seen: 15 years 48 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

Targeting NN7 only

oops yes NN7.1

Regards
Day

The only way to learn is to do it yourself