A small problem with wordpress

4 replies
  • WEB DESIGN
  • |
Hi everybody,

I've an irritating problem working with wordpress.

Please go to this link My Coffee Book

You'll see a big space at the end of the table,

I have no Idea how to remove it.

I think it depends on the height of the table, but everytime I reset the height and update the page, it all comes back to an immature height for the table by itself.

The table attributes

<table class=" aligncenter" style="color: #a69179; height: 23001px; width: 771px;" border="0" width="771" cellpadding="25">

Help will be appreciated

Thanks
#problem #small #wordpress
  • Profile picture of the author Sam Zachuth
    it is css. get firefox and the "firebug" extension. With that you can fix it yourself easily. just try and see!
    {{ DiscussionBoard.errors[9173279].message }}
  • Profile picture of the author thatjc
    The hard fix:
    Go into your theme's CSS style sheet and find the section for tables (if there is one) and style the "Margin" and/or "Padding" for less below the table.

    The easy fix:
    Use "Inline CSS" to style both the table element (or maybe the paragraph it's in) and the paragraph element of the line following the table.

    Inline CSS is very easy - do Google searches on "CSS inline margin" and "CSS inline padding" and you'll see exactly how to do it (in the WordPress editor's "HTML" view).

    For example to do margins for a paragraph (HTML <p> and </p>)
    Code:
    <p style="margin: 15px 0 15px 0;color: #040404;">Your content</p>
    The above paragraph inline CSS styles the margins as 15 top, default right, 15 bottom, default left, in pixels in a dark grey text color. Notice that it goes around the margins in a clockwise cycle, starting at the top. To indent 30px you'd use:
    Code:
    <p style="margin: 15px 0 15px 30px;color: #040404;">
    Hope this helps...
    Signature
    "You can count the seeds in an apple, but you can't count the apples in a seed."
    Online Visual Communication expert
    Visual Marketing Info signup: Visual Marketing Online
    {{ DiscussionBoard.errors[9174025].message }}
  • Profile picture of the author twister85
    Thanks for the solutions but at the end of the day, I just deleted the height tag and it works all fine now

    Thanks again!
    {{ DiscussionBoard.errors[9174885].message }}
  • Profile picture of the author shumba
    Tables for layout? - why not use divs and then if you want site to be responsive it will be a lot easier.
    {{ DiscussionBoard.errors[9175560].message }}

Trending Topics