#1
  1. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Jan 2004
    Location
    Budapest
    Posts
    1,703
    Rep Power
    67

    I'm going nuts here - CSS


    In my style-sheet, I have something like this

    #mainnav UL LI {
    height:50px;
    vertical-align: middle; (i tried center also)
    text-align: center;
    }

    What I want the text to sit half-way down the 50 height...
    Today the world, tomorrow the universe...
  2. #2
  3. what's your moniker?
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Location
    Highland Park, NJ
    Posts
    201
    Rep Power
    12
    use padding instead; padding extends the box model around the content.

IMN logo majestic logo threadwatch logo seochat tools logo