- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
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!
I just had to add the dot in there so it would show on the forum.
@LordErik I’ve just never heard of “textl” as an HTML element.
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…
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. :)