Font changes work in Firefox 3 but not IE 7

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
pdxwordsmith
Sr. Propeller Head
Posts: 100
Joined: Thu Oct 30, 2008 2:12 pm
Location: Portland, OR

Font changes work in Firefox 3 but not IE 7

Post by pdxwordsmith »

Import from Frame 8. Font changes (such as courier for code, blue for keywords) work fine in Firefox, but do not appear in IE. The font changes are character formats in Frame. Other font changes - implemented with paragraph formats - work OK.

For example:
font-changes-FF.jpg
In IE, the fonts look like:
font-changes-IE.jpg
The blue font change looks like this in the stylesheet

Code: Select all

o.Keyword
{
	font-weight: normal;
	font-style: normal;
	font-size: 10pt;
	letter-spacing: 0em;
	line-height: 12pt;
	text-decoration: none;
	color: #396b9e;
	font-family: Verdana;
}

code in line looks like this in the stylesheet:

Code: Select all

o.Code_In_Line
{
	font-family: 'Courier New';
	font-weight: normal;
	font-style: normal;
	font-size: 10pt;
	letter-spacing: 0em;
	color: #000000;
	line-height: 11pt;
	text-decoration: none;
}

How can I implement this in the SS to work in both IE and FF (I'm new to SS).

Thanks for any clues
You do not have the required permissions to view the files attached to this post.
Hanna

Flare 6.1.0, WebHelp, PDF, and Word targets, sometimes import from FM 8.0p277 and 9.0p196
Submit bugs and feature requests here: http://www.madcapsoftware.com/bugs/submit.aspx
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Font changes work in Firefox 3 but not IE 7

Post by LTinker68 »

I don't know what the "o" tag is for. You should be using the span tag (span.Keyword, span.code_In_Line) in this situation. I think FF is just ignoring the "o" in the tag name and is assuming you're using it as a span tag, and IE is getting hung up because it's associating that class with the "o" tag and you're using that class with the wrong type of tag.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
NorthEast
Master Propellus Maximus
Posts: 6365
Joined: Mon Mar 05, 2007 8:33 am

Re: Font changes work in Firefox 3 but not IE 7

Post by NorthEast »

That's really odd.
I've never heard of an o tag either, but you can add it to your stylesheet, and Flare lets you use o tags in your topics (you need to add them in text mode mind).

Firefox will display the o tagged content with your CSS formatting, but IE just displays the content without your formatting.

I had a check with Flare's FM import, and the character style mapping page lets you map FM styles to o tags. So presumably that's where they came from, and so you could map them to a span style instead to fix the problem.

I have absolutely no idea what an o tag is though, and google doesn't come up with anything. MadCap?
KevinDAmery
Propellus Maximus
Posts: 1985
Joined: Tue Jan 23, 2007 8:18 am
Location: Darn, I knew I was around here somewhere...

Re: Font changes work in Firefox 3 but not IE 7

Post by KevinDAmery »

W3Schools doesn't seem to know what an o tag is either....
Until next time....
Image
Kevin Amery
Certified MAD for Flare
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Font changes work in Firefox 3 but not IE 7

Post by LTinker68 »

I tried to look it up, too, at w3.org, but every time I did it returned the word "of" instead. At first I thought it was a made up tag, but then I looked at the Stylesheet Editor and saw it listed and that was in a brand-new project, so it wasn't as if it had been created during an import or anything else.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
pdxwordsmith
Sr. Propeller Head
Posts: 100
Joined: Thu Oct 30, 2008 2:12 pm
Location: Portland, OR

Re: Font changes work in Firefox 3 but not IE 7

Post by pdxwordsmith »

oh thank you thank you thank you. All better now. I need to learn more about CSS.

The o tag was an option on first import from Frame....
Hanna

Flare 6.1.0, WebHelp, PDF, and Word targets, sometimes import from FM 8.0p277 and 9.0p196
Submit bugs and feature requests here: http://www.madcapsoftware.com/bugs/submit.aspx
Post Reply