Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • Ing. Ervin Zatko EASY Friend
    #158458

    Hi

    I need align table to center in a contents, but it not work.
    What I must change that it will work?

    Thankx

    scotty Friend
    #370816

    place align=”center” inside your table tag like so…

    <table align=”center” border=”0″>

    Ing. Ervin Zatko EASY Friend
    #370833

    Thankx, it not help…
    Problem is in CSS, I think, but I dont know where…
    Please help me…

    scotty Friend
    #370867

    Do you a have a link to the page so I can take a look?

    Ing. Ervin Zatko EASY Friend
    #371122

    Here is a link

    http://opennet.sk/index.php?option=com_content&view=article&id=76&Itemid=28&lang=sk

    Table with contacts and Map are in center in HTML code.

    Please help me

    houstonator Friend
    #372217

    Edit you article content as per the screenshot below :


    1. center
    Ing. Ervin Zatko EASY Friend
    #372383

    Thankx, but it is only correction in article. Align table to center in a contents still not work.

    jeaneve Friend
    #391823

    I found this problem but also found a fix…read this article:

    http://www.granneman.com/webdev/coding/css/centertables/

    I used method 1 in my “rasite” article template and it work, just added the following code at the start of the article’s table style:

    {margin-left:auto; margin-right:auto;}

    So you’ll end up with something like this before your table:

    <table style=”margin-left: auto; margin-right: auto; width: 400px; height: 127px;” border=”1″>

    Worked for me!

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 4 voices, and was last updated by  jeaneve 13 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum