homepage Welcome to WebmasterWorld Guest from 54.167.174.90
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Glitch using   and   and   in IE
How does the browser handle this?
poppyrich

5+ Year Member



 
Msg#: 3917891 posted 4:19 pm on May 21, 2009 (gmt 0)

This problem is only showing up in IE. But I'm confused about how the browser - any browser - handles this. How it goes about calculating emspace and enspace and thinspace. Here's what's happening: I am using a free font called Gentium. font-size is set to 16px, line-height is set to 19px

All looks fine until I insert an emspace( ) or enspace( ) or   into the HTML.
Non breaking spaces -   are NOT a problem - that exists in the font as a character.

But if I try to use:   (char #8194) or   (char #8195) or   (char #8201) here's what's happening:

IE does create a space appr the correct width, but there seems to be a height to it, as well, and the whole line of text gets pushed downward (just a little, but noticeable)despite the CSS line-height rule.
Anybody know what's going on? Chars #8194 and #8195 and #8201 aren't usually included as part of the font file. How does the browser calculate it? (Usually it works fine.) Where does it pull the character from if it's missing from the font file?

Any input appreciated.

Thanks.

 

Seb7

5+ Year Member



 
Msg#: 3917891 posted 7:24 pm on May 25, 2009 (gmt 0)

I recently descovered IE ignored the line height setting if it goes lower then a certain value, which I think was minimum character height. Not sure if this helps.

poppyrich

5+ Year Member



 
Msg#: 3917891 posted 4:51 am on May 27, 2009 (gmt 0)

@seb7
thanks for the input but no, that's not the problem. I've filed a formal bug report along with a test page to MS.
I'll see what they say.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved