SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Dec 2001
    Location
    m
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how can i reduce the space between lines?

    i have a line in header3 tag under a line in a header 2 tag, i would like to reduce the space between these lines, how can i do it? i'm using dreamweaver 4


    btw, whats the newest version of dreamweaver, and is it really better then 4.0 ?

    thanks

  2. #2
    SitePoint Columnist Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,066
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The latest version of Dreamweaver is Dreamweaver MX, and it puts version 4.0 to shame (especially when it comes to web standards, XHTML and CSS).

    You can reduce the space between lines using CSS. Try adding this to the <head> section of your HTML document:
    Code:
    <style type="text/css">
    h2 {margin-bottom: 0px}
    h3 {margin-top: 0px}
    </style>
    That will remove the gap between h2 and h3 headers (provided the h2 one is above the h3 one).


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
  •