SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    May 2001
    Posts
    217
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Indent without a new line?

    Hi,

    I am having this very very annoying problem. I have to Bullets and Sub-bullets. Now, I need to indent the sub-bullets. But when I do this using, UL, LI, BlockQuote or even using UL, the indented lines start at a new line. The problem is that there is a lot of white space between this new line and the previous line. Does anyone know how I can get rid of this extra blank line?

    Thank you.
    unregistered1.

  2. #2
    SitePoint Evangelist NokX's Avatar
    Join Date
    Feb 2003
    Location
    Knoxville, TN
    Posts
    525
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    would you care posting code and/or a link to the page that's doing this? i'm trying to picture what you're talking about.

    also, you could try this and see if it works...
    Code:
    li {
    line-height: 8px;
    }
    and adjust accordingly. i've never tried line-height on bullets, but it might work.

    edit: that does work... here's what i did:
    Code:
    li {
    font-size: 12px;
    line-height: 12px;
    }
    and they came out much closer than without the line-height attribute.


Bookmarks

Posting Permissions

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