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.

CSS Cross Browser Issues

Featured Replies

Hi,

 

I've been working on this site:

 

link

 

I've created the site on a mac, and as far as I can tell it renders fine in the latest versions of Safari, Firefox, and Chrome in OSX.

 

It also appears to render ok in Chrome in Windows.

 

However, in IE8 and Firefox on Windows there are a number of issues.

 

1. The main one is that the font size appears much larger in IE8 and Firefox than it does in Chrome. As my content is set in columns, some of the content is now outside of my intended layout. For example, the email address under the 'Get in touch' section is rendering too wide.

 

2. In Firefox and IE8 in Windows the emdash () I've used as a bullet marker does not render.

 

3. In IE8 in Windows there is a gap between the fixed header and the shadow. In the other browsers this butts up perfectly to the header, but for some reason in IE8 there is a noticeable gap.

 

Can anyone help with these issues? This cross browser stuff is driving me nuts!

 

Matt

...In Firefox and IE8 in Windows the emdash (—) I've used as a bullet marker does not render...

 

You could use the html character numeric code & # 151 ; instead (remove spaces...), I've had better luck with it (and it's easier for me to remember the various numbers). However, it shows up just dandy on FF5 W7 and IE8 W7. It's also possible that you have a messed up version of Courier (or whichever font in the stack you are displaying) and the glyph for the em-dash is bonkers.

 

The other stuff... do as Chris said and start using a reset, it makes a lot of problems like this go away.

 

 

EDIT: and on a side note, Courier (and all fixed-width fonts) look really terrible in any place but code views. Using it for all your copy is going to give off an amateurish impression.

Edited by porkchops

  • Author

Mmmm, I did use & # 151 ; for the EM dash so now I'm even more confused as to why it's not working. Maybe you're right about my copy of courier being messed up if it displays OK at your end?

 

I'll have a look into the CSS reset option, thanks for that.

 

We'll have to agree to disagree on the use of a fixed width font for my copy. It's in keeping with my branding which is based on utilitarian packaging and warning signs. It's inspired by old data labels and typewritten letters. I do think however, that I may end up having to use an alternative fixed-width/utilitarian-looking web font, since Courier seems to be display very differently across browsers/computers. As my code currently stands, it looks nice in Chrome, but awful in firefox and IE. If the CSS reset doesn't solve the issue then I'll have to look what other font options I have.

It might be a good idea to pick a really good fixed width font and deliver it via @font-face. Courier just evokes a lot of negative feelings when I see it (it's been used way too much in the 90s).

  • Author

It might be a good idea to pick a really good fixed width font and deliver it via @font-face. Courier just evokes a lot of negative feelings when I see it (it's been used way too much in the 90s).

 

Not to mention all of those old matrix-esque green on black websites!

 

Have you used the google web font system, there's some possibilities in there.

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.