1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cannot get content to center

Discussion in 'Styling and Customization Questions' started by DieselMinded, Feb 15, 2016.

  1. DieselMinded

    DieselMinded Active Member

    hello see

    http://www.mymilitia.com/pages/store/

    Code:
    <table
    style="text-align: left; width: 100%; margin-left: auto; margin-right: auto;"
    border="0" cellpadding="0" cellspacing="0">
    <tbody>
    <tr>
    <td style="vertical-align: top; text-align: center;"><br>
    <div style="text-align: center;"><iframe
    src="http://rcm-na.amazon-adsystem.com/e/cm?t=mymil-20&amp;o=1&amp;p=26&amp;l=ur1&amp;category=amazonhomepage&amp;f=ifr&amp;linkID=OQCTX2LPTM5EO4Z7"
    border="0" marginwidth="0" style="border: medium none ;"
    frameborder="0" height="60" scrolling="no" width="468"></iframe> </div>
    </td>
    </tr>
    <tr>
    <td style="vertical-align: top; text-align: center;"><br>
    <div style="margin: 0pt auto; width: 100%;"><iframe
    src="http://astore.amazon.com/mymil-20" frameborder="0" height="1200"
    scrolling="auto" width="100%"></iframe>
    </div>
    </td>
    </tr>
    </tbody>
    </table>
    what do i need to do to center the store? i got the banner ad to center but the store is stuck left side!
     
  2. DieselMinded

    DieselMinded Active Member

    anyone know a good xenforo site where people reply to your threads?
     
  3. Amaury

    Amaury Well-Known Member

    The support is excellent here. You just have to be patient.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    I would think wrapping the content in a div with the appropriate styling would do it.

    This resource related to HTML & CSS should help: http://www.w3schools.com
     
  5. DieselMinded

    DieselMinded Active Member

    it won't move it
     
  6. Ernest L. Defoe

    Ernest L. Defoe Well-Known Member

    Have you tried <center></center>
     

Share This Page