Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: problems with font color in Firefox

  1. #1
    Join Date
    Dec 2005
    Location
    Tartu/Tallinn, Estonia
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy problems with font color in Firefox

    I made a web page that looks fine (the way it's supposed to) in IE, but Mozilla Firefox shows the font color as black even though according to the code it's not.
    Any idea what the problem might be?

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Benzin
    I made a web page that looks fine (the way it's supposed to) in IE, but Mozilla Firefox shows the font color as black even though according to the code it's not.
    Any idea what the problem might be?
    Umm, do you suppose that we're psychic? A URL would help.

    Mike

  3. #3
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    The color attribute in css is valid in all browsers, and so is the tag <font>. Unless you provide a URL (as mwinter said), I don't see why it would be.
    - Mike

  4. #4
    Join Date
    Dec 2005
    Location
    Tartu/Tallinn, Estonia
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yeah sorry about that . the URL is http://noored.evk.ee

  5. #5
    Join Date
    Apr 2006
    Posts
    190
    Thanks
    3
    Thanked 7 Times in 7 Posts

    Default

    I looked at your website in both IE and Firefox and i see nothing wrong.
    Ryan
    Sevierville, TN

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,028
    Thanks
    44
    Thanked 3,210 Times in 3,172 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by NXArmada
    I looked at your website in both IE and Firefox and i see nothing wrong.
    Well, the text:

    EVK - EVKN 2006

    At the very bottom is black in FF and some other, much lighter color in IE. Try:

    Code:
    <td align=left class="text" valign=bottom>
    <font size=-2><a href="mailto: benzin@hot.ee">Lehekülje haldaja</a><br>
    EVK - EVKN 2006</font>
    </td>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hexadecimal colour codes, in both HTML and CSS, are required to start with a hash (#) character. When you add that, you'll also need to quote the attribute values (text="#ffcc00", not text=#ffcc00).

    On the subject of CSS, you really should avoid presentational elements (like font, layout tables, center, etc.) and attributes (align, text, bgcolor, border, etc.). Use CSS instead.

    Mike

  8. #8
    Join Date
    Dec 2005
    Location
    Tartu/Tallinn, Estonia
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you very much!

  9. #9
    Join Date
    Jun 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Similar font color problem

    Hi all,

    I am also experiencing Firfox font color weirdness. I have a style called "List_Headers" set up in a CSS. I have applied the style to the relevant headings 6 times on the same page.

    http://www.scca-online.org/About_Us/About_Us_Page.htm

    The code is identical for all 6, e.g.,
    <p class="List_Headers">TEXT TEXT</p>

    The font color for the style is a maroon. All 6 show up just fine on Explorer. In Firefox 5 show up in the correct color and one "SCCA ADMINISTRATION" renders in black. It is driving me crazy (crazier?).

    Clay

  10. #10
    Join Date
    Jun 2009
    Location
    California, USA
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re : problems with font color in Firefox

    I agree with your but some how, It's not possible because any CSS has unique code for any tags and the problems is different in font <font>tag in fontcolor in Firefox.Please you check twice.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •