SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: Bulleted Lists

  1. #1
    SitePoint Enthusiast mdeluise's Avatar
    Join Date
    Oct 2003
    Location
    RI, USA
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Bulleted Lists

    Hello,

    I is there a way to eliminate the large space under the last bullet of a bulleted list in html? I've tried placing the list in a table with no luck. CSS is not an option for the project I'm working on now - Although, I would like to know if it is possible using CSS.

    Thank you.

    mdeluise

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    It's only possible using CSS. Here's the relevant code:
    Code:
    ul {
      padding-bottom: 0;
      margin-bottom: 0;
    }
    Why can't you use CSS if you don't mind me asking?

  3. #3
    SitePoint Enthusiast mdeluise's Avatar
    Join Date
    Oct 2003
    Location
    RI, USA
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is actually going into email promotions. The email is read by people using HotMail and Yahoo accounts which don't seem to recognize CSS (If you know of some way to fix this issue, then that would be very helpful). So, we have to use standard html tags for everything.

  4. #4
    SitePoint Addict
    Join Date
    Dec 2002
    Posts
    386
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try putting the style declarations within the body rather than the head of the html you are mailing, it is unconventional and probably not valid, but it does seem to work

  5. #5
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Or you can try using inline styles as well. Example:
    HTML Code:
    <ul style="padding: 0; margin: 0;">
    <li>List item</li>
    </ul>

  6. #6
    SitePoint Enthusiast mdeluise's Avatar
    Join Date
    Oct 2003
    Location
    RI, USA
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you both for your help. Vinnie, the HTML code worked fine. Thanks for the work-around.

    Mike


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
  •