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 2 of 2
  1. #1
    Regular Coder
    Join Date
    Apr 2005
    Location
    Lahore, Pakistan
    Posts
    150
    Thanks
    2
    Thanked 0 Times in 0 Posts

    how to change height of LI through CSS

    hi,

    how can i set the height of LI border . i use the border-Left property to enable the browser.
    i use this code.

    Code:
    #topnav LI {
    	PADDING-RIGHT: 12px; DISPLAY: inline; PADDING-LEFT: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: #d0d1d3 1px solid ; PADDING-TOP: 0px; 
    }
    the problem is border height is very large. how can i make it small through css

    thanks

  • #2
    Senior Coder koyama's Avatar
    Join Date
    Dec 2006
    Location
    Copenhagen, Denmark
    Posts
    1,246
    Thanks
    1
    Thanked 5 Times in 5 Posts
    Hmm... From that piece of code it is not clear what you are trying to achieve. Can you post a complete example?


  •  

    Posting Permissions

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