Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7807021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:43:16+00:00 2026-06-02T02:43:16+00:00

I was creating a simple testpage for myself, in which I’ve encountered a surprising

  • 0

I was creating a simple testpage for myself, in which I’ve encountered a surprising bug. Firefox and chrome fail to correctly parse “rgb” coloring attribute. I know using “bg_color” is deprecated and I know it’s always better to use “#code” but now I’m wondering what’s causing this problem. I’ve also checked and apparently IE doesn’t have such a bug. or maybe I’m doing something wrong? this code will result in dark blue bg color in chrome and FF.

<html>
<body>

<table border="1">
  <tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td bgcolor="#FF0000">January</td>
    <td bgcolor="rgb(0,255,0)">$100</td>
  </tr>
</table>

</body>

sidenote: browsers should support rgb as written in w3school

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T02:43:18+00:00Added an answer on June 2, 2026 at 2:43 am

    HTML attributes are not the same thing as CSS. The rgb() notation is CSS-only, and doesn’t work in bgcolor or color attributes.

    You can use CSS in an attribute, however – specifically the style attribute, if you don’t want to generate stylesheets:

    <td style="background-color: rgb(0,255,0)">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am creating simple call filter application which restrict unwanted calls. i use following
i am creating simple dashboard view in which i using createDashboardItem function item has
While creating a simple client for a REST service which I have stubbed out,
I am creating simple app on Silverlight 4. In folder of View I have
Creating a simple RPG game, first time using XNA. Trying to get my character
Was creating a simple console application to do some prototyping and was shocked to
I'm creating a simple color picker controlled by a custom slider type control. I'm
I am creating a simple gradient background by drawing a quad as follows: glMatrixMode
I am creating a simple application with Django. I realized that I am doing
When I'm creating a simple Windows form, is it starting in a new thread

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.