SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Odd Table Width

  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2011
    Location
    Vancouver, BC
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Odd Table Width

    Hey Guys,

    There's a table about half way down the page that is going outside the content area. I can't for the life of me figure out why? Any ideas?

    http://datawatch.ze.com/in-depth/sha...pers-part-one/

    Thanks

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,198
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Removing the padding from here would fix it:

    Code:
    .post .entry-content table th, .post .entry-content table td {
    padding: 5px;
    }
    but that looks ugly. Another quick fix would be to change the font size of the table. E.g. Add this to your style sheet:

    Code:
    table {
      font-size: 12px;
    }
    You could target just that table with a class if you didn't want that to apply to all tables.

    That's all I can think of.

  3. #3
    SitePoint Enthusiast
    Join Date
    Aug 2011
    Location
    Vancouver, BC
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot Ralph!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •