Custom font size in table added to Twenty Ten

  • Author
  • #1182216

    I’ve added a table with images and text for my next post, but the font size within the table is bigger and different from the main text. Ideally I’d like it to be the same font but smaller than the main text. I am new to CSS and can’t figure out how to insert code to change the font. Thanks!

    The blog I need help with is



    Please post an active link starting with http:// to the post or page this HTML table it on.


    This page has not been published. Can you see it?



    Volunteers cannot view previews. We can only view published posts and pages.


    Here’s the code at the beginning of the table (which is images and text from a racist geography book from 1875).

    <table width=”640″ border=”1″ align=”center”>
    <td width=”110″ height=”130″><img class=”aligncenter size-full wp-image-271″ alt=”Races_white” src=”” width=”105″ height=”128″ /></td>
    <td style=”vertical-align: top;”><i>“What can you say of the White Race?”</i>
    The White Race, also called the Caucasian, is the most powerful, and includes the greatest number of people. NOTE: The United States and Europe are peopled chiefly by this race. They are the most highly civilized race. Most of the nations belonging to this race believe in the Christian religion.</td>



    In 2010, the default styling of text inside a table is identical to regular text. So what you’re saying shouldn’t be happening. If we can’t see the page we cannot tell what’s wrong.

    By the way, your width=”640″ border=”1″ align=”center” is outdated coding that doesn’t work. And even if it did, the width and the alignment would be superfluous, because the default for tables in 2010 is full-width, the full width is 640px, and centering a full-width object is meaningless. So you should delete all that and write a plain table tag.


    I checked and the font size for the content in the table currently matches the font in the rest of the post. Looks like you were able to resolve the issue.

The topic ‘Custom font size in table added to Twenty Ten’ is closed to new replies.