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
    Oct 2009
    Posts
    189
    Thanks
    38
    Thanked 3 Times in 3 Posts

    line-height, borders and tables issue

    Hey all,

    You know when you assign a line height greater than size of font to a div and then give the div a right border, causing the right border not to touch the top and bottom border of the div, therefore creating a divider than just doesn't look like a right border. I'm trying to do that with a table cell, giving the table a line height greater than size of font, and then giving the table cell a right border, but the right border touches the top and bottom border of the table, which is not the effect I want. I want it so that right divider doesn't touch the top and bottom border. Thanks for any suggestions.

  • #2
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    We really need to see your code. Perhaps you should use css to achieve what you are after.

    See if there is any help here.


    Use the search facility.
    Frank
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #3
    New to the CF scene
    Join Date
    May 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ya that's true if you give us your code then we can help. And you want to do it with border or table? Please tell us.


  •  

    Tags for this Thread

    Posting Permissions

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