Title: Netscape 4 Compatibility
Last modified: August 18, 2016

---

# Netscape 4 Compatibility

 *  [yottabite](https://wordpress.org/support/users/yottabite/)
 * (@yottabite)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/netscape-4-compatibility/)
 * Hehe, here goes.
    I run a multi-user blog at the moment, and one of the users(
   specificaly THE other user) uses Netscape 4. NO, he can’t upgrade, so we’ll leave
   that out of the question for now. I simply would like to detect his browser and
   show him the page without any CSS whatsoever. I know this is possible, and have
   done it before on other projects, but the header.php inside of the default theme
   folder seems to import the stylesheet in an odd way.
 * Precisely what i would like to do is this:
    <style type=”text/css”>@import url(
   cssfile.css);</style>
 * the import tricks netscape to ignore the CSS completely.
    the problem is this
   line of code: <style type=”text/css”>@import url(<?php bloginfo(‘stylesheet_url’);?
   >);</style>
 * Which looks like it would do the trick, but doesn’t seem to at all.
 * Any advice?
 * And I really don’t care to hear anyone talking about other browsers, some people
   on the web do still use older browsers, some even use lynx or links. That’s just
   the way it is.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/netscape-4-compatibility/#post-170014)
 * Try:
 * `@import "<?php bloginfo('stylesheet_url'); ?>";`
 * Netscape 4 (and IE 4) should fail to recognise this.
 *  Thread Starter [yottabite](https://wordpress.org/support/users/yottabite/)
 * (@yottabite)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/netscape-4-compatibility/#post-170018)
 * that’s what i figured, but do you mind letting me know specifically on which 
   line? ( i appreciate this)
 * i’ve got :
 *  <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/
   css” media=”screen” />
 * on line 20
 *  Thread Starter [yottabite](https://wordpress.org/support/users/yottabite/)
 * (@yottabite)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/netscape-4-compatibility/#post-170021)
 * bahahhaha, it occurs to me i don’t even know where the stylesheet is called, 
   lemme try and find out with a quick RTFM.
 *  Thread Starter [yottabite](https://wordpress.org/support/users/yottabite/)
 * (@yottabite)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/netscape-4-compatibility/#post-170047)
 * still no go – can’t seem to find explicitreferences to stylesheet in anything
   but the header.php within the theme.
    Am I even in the right place?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/netscape-4-compatibility/#post-170052)
 * yes, you are!
 *  [dawg](https://wordpress.org/support/users/dawg/)
 * (@dawg)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/netscape-4-compatibility/#post-170053)
 * just rename the style sheet, call it whatever but not style.css or the layout
   if thats what your site calls for, it will not display the style sheet if it 
   is not correctly named rename it back when they have seen it
 *  Thread Starter [yottabite](https://wordpress.org/support/users/yottabite/)
 * (@yottabite)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/netscape-4-compatibility/#post-170056)
 * Sorry dawg – I need a permanent fix. Basically I need to hide the stylesheet 
   only from Netscape 4 users. The only problem that I see is the specific syntax
   WP use when including it. Typically an [@import](https://wordpress.org/support/users/import/)
   statement will work, but doesn’t seem to in this case.
 *  [dawg](https://wordpress.org/support/users/dawg/)
 * (@dawg)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/netscape-4-compatibility/#post-170068)
 * Oh I thought you were just trying to show the one Netscape 4 user how it looks
   with out styles, thats why I said change it back afterwards.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Netscape 4 Compatibility’ is closed to new replies.

 * 8 replies
 * 4 participants
 * Last reply from: [dawg](https://wordpress.org/support/users/dawg/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/netscape-4-compatibility/#post-170068)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
