SitePoint Sponsor |
|
User Tag List
Results 1 to 9 of 9
-
Mar 6, 2003, 08:18 #1
- Join Date
- Apr 2002
- Location
- Salford / Manchester / UK
- Posts
- 4,838
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Netscape 7 ignoring display: none ?
an interesting issue i'm having with Netscape 7. in the header on the test page http://www.salford.ac.uk/test.php i have labels for the two form elements. as they're mostly there for accessibility, and not for "visual consumption", i've set the style so that they shouldn't display with the following
Code:#header label { display: none; color: #fff; font-weight: bold; }
now, this works in IE5.5, phoenix 0.5, mozilla 1.3b and, i think, opera 7...but Netscape 7 happily displays these as if the display: none wasn't there.
the weird thing is, N7 sees the color and font-weight attributes i added as a "visual fix"...so it does understand that #header label should affect theses particular elements...so why is it just ignoring the display attribute ?re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
WaSP Accessibility Task Force Member
splintered.co.uk | photographia.co.uk | redux.deviantart.com
-
Mar 6, 2003, 16:17 #2
- Join Date
- Mar 2002
- Location
- Manchester, UK
- Posts
- 853
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
N7 is effectively moz 1.0.x, so it's possible that you're seeing a bug that has since been fixed in later version of Moz (it does happen occasionally...)
gav
http://www.livejournal.com/users/blufive/
browser stats analysis and comment:
http://www.livejournal.com/community/stats_weenie/
-
Mar 6, 2003, 16:25 #3
- Join Date
- Mar 2002
- Location
- Manchester, UK
- Posts
- 853
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
aha
http://bugzilla.mozilla.org/show_bug.cgi?id=96813
If I grok the mozilla/netscape development tree correctly, this should be fixed in NN7.02 and Moz1.1 Alpha onwards.
I think it managed to miss both moz 1.0 and NN7.01 by a whisker.gav
http://www.livejournal.com/users/blufive/
browser stats analysis and comment:
http://www.livejournal.com/community/stats_weenie/
-
Mar 6, 2003, 16:47 #4
- Join Date
- Apr 2002
- Location
- Salford / Manchester / UK
- Posts
- 4,838
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
you're a star gavin ! so i can sleep easy now, knowing it's not due to something major i overlooked...(although it's annoying that this means my planned new, more standards compliant header for the main salford.ac.uk site will display "weirdly" on the latest netscape build...)
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
WaSP Accessibility Task Force Member
splintered.co.uk | photographia.co.uk | redux.deviantart.com
-
Mar 6, 2003, 16:59 #5
- Join Date
- Mar 2002
- Location
- Manchester, UK
- Posts
- 853
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
A quick skim of the other bugs I read before found that one (it caused some peripheral fallout, and had a few duplicates/near misses) implies that a "!important" might get it to pay attention, but I'm not in a position to test that.
gav
http://www.livejournal.com/users/blufive/
browser stats analysis and comment:
http://www.livejournal.com/community/stats_weenie/
-
Mar 6, 2003, 17:21 #6
- Join Date
- Apr 2002
- Location
- Salford / Manchester / UK
- Posts
- 4,838
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
sorry...by "latest build" i meant "latest version in userland". i'm sure the !important flag does mean that they'll fix it soon. heh, and to think that i just got my boss to ditch netscape 4.72 in favour of 7, AND i told him the new site designs will have so many benefits because of standards compliance...
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
WaSP Accessibility Task Force Member
splintered.co.uk | photographia.co.uk | redux.deviantart.com
-
Mar 6, 2003, 21:14 #7
- Join Date
- Oct 2002
- Location
- Cincinnati, Ohio, USA
- Posts
- 390
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
That's why you should never tell your boss anything. Always let them think it was their idea. :-)
-
Mar 7, 2003, 14:32 #8
- Join Date
- Mar 2002
- Location
- Manchester, UK
- Posts
- 853
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
ah. I meant that putting a "!important" in your CSS, like this:
Code:display: none !important
See http://www.w3.org/TR/CSS2/cascade.html#important-rules for more.
I think the bug is already fixed in the version of N7 currently available for download. It definitely IS fixed in the version of Moz we're both using, as you already noticedLast edited by blufive; Mar 7, 2003 at 14:35.
gav
http://www.livejournal.com/users/blufive/
browser stats analysis and comment:
http://www.livejournal.com/community/stats_weenie/
-
Mar 7, 2003, 15:24 #9
- Join Date
- Apr 2002
- Location
- Salford / Manchester / UK
- Posts
- 4,838
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
i'm really showing that i'm still new at this, eh ?
ok, when in hole, stop digging...re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
WaSP Accessibility Task Force Member
splintered.co.uk | photographia.co.uk | redux.deviantart.com
Bookmarks