Margins/tables get bigger - I think

Discussion in 'CSS' started by SALINAS, May 19, 2007.

  1. #1
    Hi everyone,

    I have a new site that is an advertising blog.

    Before people started posting the index of my site looked fine. The border of where the blog posts are lined up parallel with my header.

    Well, now after a member or two posted html ads that were slightly wider... my index looks like this: http://myfreeadblog.com/

    Of course if I delete the posts that I know affected it, it will go back to normal ..but I don't want to do that every time..

    Is there a way to make the table/margins whatever it is "fixed"
    to where my members' posts do not affect the layout of the site?

    Thanks in advance!
     
    SALINAS, May 19, 2007 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    Not tested. You should never, ever use inline attributes where there is an appropriate css property. I don't see any reason for a table based layout, either, but that's an argument for another day. :)

    Try:
    table {
      table-layout: fixed;
      }
    Code (markup):
    cheers,

    gary
     
    kk5st, May 19, 2007 IP