SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Nov 2008
    Posts
    201
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cells Out Of Place In Table

    I can't figure out why the class "contentshop" cells (4 of them) in the table withinin the "content" div are dropped down halfway...

    Here's the page.

    What's wrong?

  2. #2
    Non-Member Kalon's Avatar
    Join Date
    Aug 2010
    Location
    At my computer
    Posts
    2,012
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This typo in your css selector for td.contentshop might be part of the problem but more than likely it will just be ignored.

    Code:
     
    td.contentshop {
    width: 135px;
    paddding: 0 0 0 11px;
    margin: 0;
    The more likely cause of the problem is at the bottom of your css file where you set the width of all td's and tr's to 100% after setting all table widths to 100%.

    The td and tr selectors might be causing some sort of row wrapping pushing the table content down.

    Try removing the td and tr selectors since they shouldn't be needed since the table width is set to 100%

  3. #3
    SitePoint Addict
    Join Date
    Nov 2008
    Posts
    201
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Excellent. Got it! Thank you.


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
  •