Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jan 2005
    Posts
    148
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Easy CellPadding Question

    I set my table to not wrap. Text is loaded from a variable. However, if the text is too long to that the nowrap causes the table to enlarge, the text is touching the left and right sides of the box (it has a border and doesn't look nice). I am trying to figure out how to give it alittle room just on the left and right sides. Is there anyway to give it a cell padding without giving it padding on top and bottom?


    thanks

  • #2
    Regular Coder
    Join Date
    Aug 2004
    Posts
    111
    Thanks
    0
    Thanked 0 Times in 0 Posts
    if your using using stylesheets just put this in your css file
    Code:
     padding-left: 8px
     padding-right: 9px
    or if your not using stylesheets put his in your table tag
    Code:
    style="padding-left: 8px; padding-right: 9px"

  • #3
    Regular Coder
    Join Date
    Jan 2005
    Posts
    148
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Awsome! Thanks


  •  

    Posting Permissions

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