www.webdeveloper.com
Results 1 to 3 of 3

Thread: unordered list title

  1. #1
    Join Date
    Aug 2004
    Location
    Kansas City, MO.
    Posts
    209

    unordered list title

    Is there an easy way to eliminate the blank line before a <ul>?

    <h3>This title has a blank line after it</h3>
    <ul>
    <li>one</li>
    <li>two</li>
    <li>three</li>
    </ul>
    Validate your code at w3.org. Get
    Get FireFox!

  2. #2
    Join Date
    Jul 2004
    Location
    Sendai, Japan
    Posts
    1,273
    <style type="text/css">
    h3 {margin:0;}
    ul {margin:0;}
    </style>

  3. #3
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    <style type="text/css">
    h3, ul {margin:0}
    </style>
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles