SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: TAB command

  1. #1
    SitePoint Zealot
    Join Date
    Sep 2010
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    TAB command

    Right now I am using the "<center>" command to align my table.

    I would like to align it to the left by dropping the center command.

    I would like to know if there is a "TAB" command so that the table will not be up against the left barrier.

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,387
    Mentioned
    180 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    You will need to use CSS and apply a left margin to the table.

    CSS
    Code:
    .myTable{margin:0 0 0 20px}
    Then add the class to the table in question:
    HTML
    Code:
    <table class="myTable">

  3. #3
    SitePoint Mentor bronze trophy
    John_Betong's Avatar
    Join Date
    Aug 2005
    Location
    City of Angels
    Posts
    1,840
    Mentioned
    73 Post(s)
    Tagged
    6 Thread(s)
    Do a search for CSS and margin then post how you managed to solve your problem.
    Learn how to be ready for The New Move to Discourse

    How to make Make Money Now with a *NEW* look

    Be sure to congratulate Patche on earning Member of the Month for July 2014


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •