Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Different style sheets for different browsers?

Featured Replies

On one of the websites I'm creating I noticed an exciting new development.

 

On my work pc which has IE7: the home page displays fine.

On my work pc with Firefox: The page is a mess, text on top each other.

 

On my home pc which has IE8: I have to change a few CSS values to make it display correctly.

On my home pc with Firefox: Displays fine.

 

I haven't tried Safari, Chrome, etc - too scared :cray:

 

So the first question, what am I doing wrong? Perhaps my CSS needs reworking.

 

Is it a good idea to have several style sheets for different browsers? I'm sure I've seen some pages that reference different sheets depending on browser.

 

So many questions this week!

 

Webtastic!

in general you're only really to need an extra tweaking CSS for IE7. Rarely do you get differences between the others but, of course, that depends on the complexities of your page.

 

It's also a good idea to validate your code as that can often throw up differences between browsers that aren't really CSS issues.

On my work pc which has IE7: the home page displays fine.

On my work pc with Firefox: The page is a mess, text on top each other.

 

Always code and test in Firefox first (or safari or Chrome or Opera) and then, after validating, set conditional comment(s) http://www.javascriptkit.com/howto/cc2.shtml for all IE or just individually for versions of IE, if IE still has problems.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.