Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Why firefox and IE changes a text color in HTMLarea?

Why firefox and IE changes a text color in HTMLarea?

Locked

Views: 920

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Aug 2010, 4:00 AM
#1
meetsek avatar

meetsek

New Zenner

Join Date:
Aug 2010
Posts:
9
Plugin Contributions:
0

Why firefox and IE changes a text color in HTMLarea?

Does anybody have an issue with the way firefox and IE changes a text color? I'm not be able to change text color with IE when after I change some text color with firefox. When I try to put some color on a sentence, Firefox creates a span tag with a rgb attribute whileIE puts font tag around the span tag.

Is there any workaround to put text color on a product description so that I can use both firefox and IE to update the information?

I have been googling on this issue for several hours but no luck finding a solution. I really appreciate if anybody can give me something to try.

Thanks in advance!

28 Aug 2010, 5:55 AM
#2
richphitzwell avatar

richphitzwell

Zen Follower

Join Date:
Jul 2010
Location:
My heart will always be in the NorEast
Posts:
110
Plugin Contributions:
0

Re: Why firefox and IE changes a text color in HTMLarea?

hi, welcome to web development. in general ff follows standards and ie doesnt. follow standards and 99% of the time ff and all other class a browsers will react the same way as long as its html 4 or css2, but ie you will have to create exceptions for each of their browsers.

to answer your question, focus on ff and make exceptions for ie.

28 Aug 2010, 11:05 AM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Why firefox and IE changes a text color in HTMLarea?

In my experience, IE8 is as standards-compliant as FF, though you may need to add extra stylesheets for IE6 and IE7.

Just my opinion, but the best way I know to accomplish what you're trying to do is code the HTML manually in the description by adding <div>s to blocks of text and style them (color, font size, etc.) in the stylesheet.

30 Aug 2010, 4:28 PM
#4
meetsek avatar

meetsek

New Zenner

Join Date:
Aug 2010
Posts:
9
Plugin Contributions:
0

Re: Why firefox and IE changes a text color in HTMLarea?

Thanks for your suggestions!

Just to add a note...I had those issues using IE8 and FF3.6.6.

I guess there is no easy way to fix this problem. I would not use the html editor if I'm the only one using the admin page. A couple of others will use it and they don't know any HTML codes.

I will try making exceptions for IE.

30 Aug 2010, 11:34 PM
#5
richphitzwell avatar

richphitzwell

Zen Follower

Join Date:
Jul 2010
Location:
My heart will always be in the NorEast
Posts:
110
Plugin Contributions:
0

Re: Why firefox and IE changes a text color in HTMLarea?

In my experience when both should be reacting properly the issue was mainly caused by improper css and namely when I started with a # vs . and it should have been the other.

Im not saying it is this, but everytime that I have custom made a stylesheet and this happened, that was the issue.

Edit: This is using css2 and not css3, IE will not recognize css3 yet