Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Font-issue in IE

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #40163
    LordErik
    Member

    Hello there,

    I’ve got an issue with IE. My site looks fine in all the other browsers, but IE seems to be ignoring certain lines in the CSS, and I’m not sure why.

    Here’s my entire style sheet:
    http://pastebin.com/ZNwSb2Fd

    The area of interest, I suspect, is here in line 13 and 15:

    body { font-family: ‘segoeui’; font-size:14px; color:#FFF; }

    textl { font-family: ‘segoeuil’; font-size:20px; color:#FFF; }

    The text tagged <.textl> doesn’t change from the ordinary text. Not in size, nor font. Here’s an example from the HTML sheet (dots added).

    <.textl>Personalia<./textl>

    In IE, this text looks exactly the same as all the other text on the page. Even though I want it to be segoeuil font, and 20 px, it’s displayed at seogeui font and 14 px!

    Any ideas? Help would be greatly appriciated!

    #111309
    chrisburton
    Participant

    @LordErik What is .textl? Do you mean:

    `

    Personalia

    `

    #111310
    LordErik
    Member

    I just had to add the dot in there so it would show on the forum.

    #111311
    chrisburton
    Participant

    @LordErik I’ve just never heard of “textl” as an HTML element.

    #111312
    LordErik
    Member

    Oh, you didn’t mean the dot? I’m really new to CSS, so I must admit that I rarely know what I do. I just look at other pages and try to make things work. Are you saying that I cannot simply do <.textl>Text here<./textl>? It works just fine in all other browsers but IE…

    #111313
    LordErik
    Member

    Oh, changing the CSS to .textl and then making a div worked nicely. I guess I just thought it was supposed to work the way I had done it, because it worked in Firefox/Chrome/Safari and so on.

    Thanks for the input. I’m going to mark this one as solved. :)

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.