SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Nov 2000
    Posts
    740
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Line spacing after H1

    I am using Dreamweaver to create myself a redefined H1 tag. Currently, it seems to leave a space when I type something below it, just like a paragraph tag.

    How can I control that line spacing using Dreamweaver? Is it the Background or Block section I go to or what?

    Thanks,

    Jon

  2. #2
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to set the margin attributes

    In Dreamweaver, those are under the 'Box' category in the 'CSS style definition' dialog...

    By hand, it looks like this

    h1 {
    margin-bottom: 0px;
    }

    Or whatever you specify
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev





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
  •