July 11, 201115 yr 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
July 15, 201115 yr Sorry fella, missed this the first time around. You can get around most cross-browser CSS issues by starting from a reset stylesheet, which will reset browser default styles to a consistent baseline.
July 15, 201115 yr ...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 July 15, 201115 yr by porkchops
July 18, 201115 yr 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.
July 18, 201115 yr 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).
July 18, 201115 yr 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