CSS style propagation

I have the following HTML

================ HTML ===================
<div class="rbroundbox">
<div class="rbtop"><div></div></div>
<div class="rbcontent">

   <h2>Corners</h2>
   <p>This is a sample</p>
   <p>Of a rounded box</p>
   <p>With funny corners</p>

</div><!-- /rbcontent -->
<div class="rbbot"><div></div></div>
</div><!-- /rbroundbox -->
================ HTML ===================


And the following CSS

================ CSS ====================

/* START - first example */

 /* set millions of background images */
.rbroundbox { background: url(images/c00.gif) repeat; }
.rbtop div  { background: url(images/c11.gif) no-repeat top left; }
.rbtop      { background: url(images/c12.gif) no-repeat top right; }
.rbbot div  { background: url(images/c21.gif) no-repeat bottom left; }
.rbbot      { background: url(images/c22.gif) no-repeat bottom right; }

 /* height and width stuff, width not really nessisary. */
.rbtop div, .rbtop, .rbbot div, .rbbot {
      width: 100%;
      height: 7px;
      font-size: 1px;
}
.rbcontent  { margin: 0 7px; }
.rbroundbox { width: 60%; align: left;  margin: 1em; }

/*  END  - first example */

h1 { font-size: 1.7em; color : #4A627A;}
h2 { font-size: 1.4em; color : #4A627A;}
p { font-size: 1em; }


h1 { padding: 0; margin: 0 0 0px 0;   }
h2 { padding: 0; margin: 0 0 10px 0; border-bottom: 1px solid #4A627A;  }
p  { padding: 0; margin: 10px 0 0 0; }


#realcontent {
      border: 1px solid #666;
      background: #efefef;
      padding: 1em;
      margin: 0 300px 0 50px;
}

#realcontent p td tr {
      padding: 0em;
      margin: 0;
}

=======================================

If i want to include a table in my round corner box like this :

================ HTML WITH TABLE ===================
<div class="rbroundbox">
<div class="rbtop"><div></div></div>
<div class="rbcontent">

   <h2>Corners</h2>
   <p>This is a sample</p>
   <p>Of a rounded box</p>
   <p>With funny corners</p>

   <table>
      <tr>
           <td>
                  HOW TO HAVE THE SAME FONT AS <h2> AND <P>
            </td>
       </tr>
     </table>
   

</div><!-- /rbcontent -->
<div class="rbbot"><div></div></div>
</div><!-- /rbroundbox -->
================ HTML WITH TABLE ===================




=========== QUESTION ==============================

The format of the text in the TABLE is the default text of the body (font, size, etc...)
but i want to have the same format as the container






================================================
eeolivierAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

COBOLdinosaurCommented:
h1 { font-size: 1.7em; color : #4A627A;}
h2, .h2cls { font-size: 1.4em; color : #4A627A;}
p, .pcls { font-size: 1em; }


<table>
      <tr>
           <td class="h2cls">
                  HOW TO HAVE THE SAME FONT AS <span class="pcls"> AND </span>
            </td>
       </tr>
     </table>

Cd&
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
COBOLdinosaurCommented:
Would you care to explain the insulting grade before I post a complaint about the way you have ignored the guidelines, or should I hand the matter over to a mod?

Cd&
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.