Nees help centering a table i wordpress

by derh
3 replies
  • WEB DESIGN
  • |
Here's the site I'm working on:

Portable Gas Generator Reviews

as you can tell.....

it looks horrible...

I can't figure out the code to center it with the white center background...

what do I do???
#centering #nees #table #wordpress
  • Profile picture of the author Istvan Horvath
    Yeah, all the empty sites look horrible.
    Always make at least one post if you want to see your design in work...
    Signature

    {{ DiscussionBoard.errors[3041226].message }}
    • Profile picture of the author derh
      Originally Posted by Istvan Horvath View Post

      Yeah, all the empty sites look horrible.
      Always make at least one post if you want to see your design in work...
      Sorry, I deleted the table As I am trying to figure out what the hell to do!


      Guys,

      I'm trying to display 12 products with descriptions underneath of them.

      3 wide

      4 down

      example :
      xxx
      xxx
      xxx

      An X= a product box.


      I can fiure out the HTML code but I can't figure out how to center the damn thing in relation to my home page.


      I would do this in CSS but don't know how to.

      Help please
      Signature

      {{ DiscussionBoard.errors[3041468].message }}
  • Profile picture of the author Istvan Horvath
    For starters...

    1. Never use a theme that has their own links or affiliate links in the footer.

    2. If you make the table width exactly what your content/post area's width is - you don't need to "center" anything.

    3. The "center" attribute has been deprecated in the HTML verison used by WordPress.

    4. Find a theme that is made to display grid-like layout with products.

    5. With tables... give your table a class and then define the class in your CSS.

    6. Last resource: some people even invented plugins that make tables for your WP.
    Signature

    {{ DiscussionBoard.errors[3041542].message }}

Trending Topics