Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default border for table in center column

    How do I add a border to a table located in the center column?

    I tried using .centerColumn-table, .centerColumntable, .table in the CSS file, but none work and I know there must be a way to do it.

    Please advise.

    thanks!

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: border for table in center column

    .centerColumn-table or .centerColumntable would apply to an element with that class name, which does not exist.

    .table would apply to an element with a class tag of "table", not to an HTML table.

    .centerColumn table {} would apply as you want, but it would apply to any tables on any page in the center column, which might be a problem.

    A link to your site will allow advice on specific selectors to use.

  3. #3
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default Re: border for table in center column

    my website is: www.amnyperfumes.com/zen-cart

    Look forward to your feedback. thanks a lot!

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: border for table in center column

    You don't actually have any tables in your home page center column, just divs including the one with your text.
    Add to your stylesheet:
    Code:
    #indexCategoriesMainContent {
        border: 1px dotted #666666;
        }

  5. #5
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default Re: border for table in center column

    I am sorry for not specifying before that the table that I have is in one of the moreinformation.php pages:
    http://www.amnyperfumes.com/zen-cart...t8abnisa0bnkm2

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: border for table in center column

    Code:
    #pageTwoMainContent table {
        border: 1px dotted #666666;
        }
    Repeat for any other pages with tables.

  7. #7
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default Re: border for table in center column

    It worked! thanks a lot. =)

 

 

Similar Threads

  1. static width for center column
    By h_2_o in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Feb 2010, 09:56 AM
  2. rounded corners for bottom center column ?
    By gorie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Jan 2008, 08:44 PM
  3. Removing header table for center logo
    By underworldmagic in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 24 Dec 2006, 06:41 PM

Posting Permissions

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