SitePoint Sponsor |
|
User Tag List
Results 1 to 9 of 9
Thread: Ns 4 and CSS
-
Jun 15, 2003, 23:09 #1
- Join Date
- Jun 2003
- Location
- Springfield, Missouri
- Posts
- 142
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Ns 4 and CSS
Sometimes NS4 displays my site right and sometimes it mangles it. Hitting reload is all it takes to get a totally different version of my site in NS4.
Sometimes it displays it without any style sheet applied at all, which is fine.
I've read that I can hide my style sheet from NS 4 and force it to display without style sheets. Should I do this to stop the random mangling? Site looks fine without style although it's pretty bland and the left nav panel is a bulleted list at the bottom. Not necessarily a bad thing.
-
Jun 16, 2003, 00:39 #2
- Join Date
- Apr 2000
- Location
- Melbourne
- Posts
- 832
- Mentioned
- 4 Post(s)
- Tagged
- 0 Thread(s)
It comes down to your market to an extent. If your NS4 audience makes up a significant proportion of your audience (whatever you decide that is) I suppose you do what you have to.
From a coding perspective, if there's one thing I've learnt about NS4 is it hates inline styles. Try to keep your 'Style=' out of your code if you like NS4.
Secondly there's a well known resizing bug in NS4 that causes problems with the redraw after after the window if adjusted. DreamWeaver automatically includes a javascript to fix it when you add your first DIV to a page.
Code:function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true);
-
Jun 16, 2003, 12:20 #3
- Join Date
- Feb 2003
- Location
- Linuxland
- Posts
- 2,788
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by AlexW
-
Jun 16, 2003, 16:48 #4
-
Jun 16, 2003, 22:33 #5
- Join Date
- Feb 2003
- Location
- Linuxland
- Posts
- 2,788
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by AlexW
-
Jun 16, 2003, 22:49 #6
- Join Date
- Apr 2000
- Location
- Melbourne
- Posts
- 832
- Mentioned
- 4 Post(s)
- Tagged
- 0 Thread(s)
I wouldn't be too worried about that. People don't alter their text size settings often, and few use Netscape 4. The amount of people that use NS4 and change their text setting while at your site won't be large.
If you can make it work, fantastic, but there are probably other things that you could spend you time on before that.
We were down to less than .5% for NS4 just before we launched the new SitePoint layout. What are your figured like?
-
Jun 17, 2003, 09:42 #7
- Join Date
- Feb 2003
- Location
- Linuxland
- Posts
- 2,788
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by AlexW
-
Jun 17, 2003, 09:51 #8
- Join Date
- Jul 2002
- Location
- Ottawa, Canada
- Posts
- 1,766
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
(I'd be willing to guess that a portion of that .5% is just webmasters who are seeing how SitePoint deals with the issues they have with older versions of Netscape.
)
-
Jun 17, 2003, 10:13 #9
Originally Posted by fatnewt
Bookmarks