• I am having trouble with TABLE PADDING and SPACING. For some reason, the table padding and spacing aren’t registering…

    https://216.172.188.228/~mfse/about-us/store/
    (see the product images, and the descriptions – that’s the table)

    I checked the style sheet, and there doesn’t seem to be any padding set for tables. Can someone help and tell me how to fix this?

    I also searched this forum, but can’t find an answer.
    I’ve tried adding something in my stylesheet to change the cell styles…
    td { padding: 4px 0px 4px 10px; }
    but that didn’t work.

    I also tried to not use cellpadding=”10″ and use style=”padding:10px;” for the table, but that didn’t work.

    Also, I want to use TABLES as my admins wont know much about div tags and html. So, DIV tags aren’t an option.

    Also, note, I tried adding horizontal space to the right of the image, to see if that is a temporary solution, but that didn’t work either …

    Any ideas?

    D.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter jabbamonkey

    (@jabbamonkey)

    Is this just a fundamental problem with WordPress? Is there no solution for this?

    No – it’s a CSS issue. Your table css is being over-written by the CSS within the page itself. Try using Firefox with the Firebug add-on for this kind of work.

    You will need to change in store css file and looks like plugin is adding the css directly and not using file so check the store plugin if you can change css from the plugin

    Thread Starter jabbamonkey

    (@jabbamonkey)

    esmi,
    I have used firefox … the table styles aren’t hard coded … and I checked the main style sheet … but that doesn’t seem to have any issues.

    govpatel,
    Store plugin? I don’t understand what you mean. There is no store plugin. I have plugins for breadcrumbs, calendar, contact form, captcha, tinyMCE and a backup plugin. No Store plugin though.

    I looked at your store page source code and I see that css is added directly in page rather then using file I used firebug and found that your text css is here

    https://216.172.188.228/~mfse/about-us/store/

    .calendar-table table, tbody, tr, td {
    margin: 0 !important;
    padding: 10px !important;
    }

    Thread Starter jabbamonkey

    (@jabbamonkey)

    Ok… that’s the calendar plugin … I was able to change the styles in the plugin. I changed them to….

    .calendar-table table,.calendar-table tbody, .calendar-table tr, .calendar-table td {
    margin:0 !important;
    padding:0 !important;
    }

    This should cause the regular tables to be left alone, right? When I did this, nothing changed.

    if you changed added 10px in padding then you should get padding in td as is you do not have any

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Table Spacing and Padding not working…’ is closed to new replies.