Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthormweber
    • CommentTimeJan 13th 2008 edited
     permalink
    I have a two column layout. A small 20% left column that will serve as the menu and a main 80% column that will be the content. On the home page I have a table contains content boxes that uses some javascript to keep them equal heights. The problem I'm having is no matter what I do I can't get the table to center in the main column. There is always more space on the right than on the left. I have tried everything I can think of but nothing seems to work. The link below and the give an example of the page.

    http://www.mpilabels.com/mpi_website_new/index20.shtml

    username: jeanbean301
    password: webking301

    Thanks so much for any help that can be provided.
  1.  permalink
    Can't see your site - need login credentials.

    Try giving your table (which undoubtedly contains tabular data) a width and setting the left and right margins to auto.

    ...and an FYI, using tables and JavaScript for layout plays about as well around these parts as Richard Simmons in Kabul.
    • CommentAuthorjriddle
    • CommentTimeJan 18th 2008
     permalink
    fresh,

    that is the funniest shit i have heard in a while. (The reference to Richard Simmons with the picture).

    Mweber,

    I hope you got everything straightened out. But I may suggest the recommended the books on the front page to achieve a design that your going for.
    • CommentAuthormagtzedong
    • CommentTimeJan 22nd 2008
     permalink
    <table style="width:90%; margin:auto">
    <thead>
    ....
    </thead>
    <tbody>
    ....
    </tbody>
    </table>
    • CommentAuthorkylesteed
    • CommentTimeJan 22nd 2008
     permalink
    mweber -

    you should really consider using tableless design and going with a
    format. Then all you would need is a
    wrapper and set it's width to whatever you want and it's margin to auto. But I think the above example should work for your tables.
Add your comments
    Username Password
  • Format comments as (Help)