Code appearing badly in IE9?
Moderator: General Forums Moderators
Code appearing badly in IE9?
I've upgraded to Windows 7 recently, and for some reason code parts in the posts are quite ugly using IE9.
Am I doing something wrong or is it a compatibility issue?Re: Code appearing badly in IE9?
why are you using IE in the first place?
Firefox is where its at
But seriously I don't know, best to look in the settings n stuff
Firefox is where its at
But seriously I don't know, best to look in the settings n stuff
"O2 is for noobs, real people breath O3" ~ said sometime by Me
All comments from me may or may not be true and do not take them word-for-word
Feel Free to join me and some other people in The Nations Game - its actually quite fun.
1000th Post at Wed Feb 08, 2012 8:43 am
2000th post at Sun Apr 14, 2013 10:22 am
All comments from me may or may not be true and do not take them word-for-word
Feel Free to join me and some other people in The Nations Game - its actually quite fun.
1000th Post at Wed Feb 08, 2012 8:43 am
2000th post at Sun Apr 14, 2013 10:22 am
- orudge
- Administrator
- Posts: 25138
- Joined: 26 Jan 2001 20:18
- Skype: orudge
- Location: Banchory, UK
- Contact:
Re: Code appearing badly in IE9?
How odd. Code blocks are designed to use the following fonts/font families: Courier, 'Courier New', sans-serif;
Do you have something overriding your fonts, perhaps? Have you somehow deleted Courier and Courier New, and your browser is picking what looks like an East Asian font used for Western text?
Do you have something overriding your fonts, perhaps? Have you somehow deleted Courier and Courier New, and your browser is picking what looks like an East Asian font used for Western text?
Re: Code appearing badly in IE9?
I would never delete Courier New, it's my favourite font
Code blocks appear OK using the prosilver or subsilver theme, and they also appear correctly on some other phpBB-based forums I checked. They also appear perfectly using Opera.
After some googling, I found this:
http://social.msdn.microsoft.com/Forums ... 2e8b8c1c1/
It seems that IE9 has a problem.
Code blocks appear OK using the prosilver or subsilver theme, and they also appear correctly on some other phpBB-based forums I checked. They also appear perfectly using Opera.
After some googling, I found this:
http://social.msdn.microsoft.com/Forums ... 2e8b8c1c1/
It seems that IE9 has a problem.
Re: Code appearing badly in IE9?
I'd swap the first two. Courier New is the preferred font if available, as on Windows it's a true type font, while plain Courier is one of these antique things only available in certain sizes, rendered badly in other sizes that are not predefined.orudge wrote:Courier, 'Courier New', sans-serif;
Re: Code appearing badly in IE9?
Hello
The matching family for the fonts Courier and Courier New is monospace instead sans-serif. Last one is shown on the screenshot. And, as FooBar said, Courier is outdated (to say it in a polite way ).
Tschö, Auge
Code: Select all
font-family: Courier, 'Courier New', sans-serif;
Code: Select all
font-family: 'Courier New', {maybe}Courier,{/maybe} monospace;
- orudge
- Administrator
- Posts: 25138
- Joined: 26 Jan 2001 20:18
- Skype: orudge
- Location: Banchory, UK
- Contact:
Re: Code appearing badly in IE9?
Well, quite. I'm not sure why sans-serif was chosen, it seems to have been a phpBB decision many years ago. I'll make the changes when I have some time(!)
Who is online
Users browsing this forum: No registered users and 13 guests