wood burning stoves 2.0
The moose likes HTML, CSS and JavaScript and the fly likes Closing Line Space Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Closing Line Space" Watch "Closing Line Space" New topic

Closing Line Space

William Rouse
Ranch Hand

Joined: Apr 12, 2006
Posts: 73
I�m trying to write a series of header description in my CSS file for my HTML file to use. The characteristic that I am not able to do is to place text flush against a header title without there being a large gap between the two lines. If you run the below HTML you see a large space between each line and I need to remove the large line space.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<h1>Header 1</h1>
normal text
<h2>Header 2</h2>
normal text
<h3>Header 3</h3>
normal text
<h4>Header 4</h4>
normal text
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Play with CSS line-height and padding

William Rouse
Ranch Hand

Joined: Apr 12, 2006
Posts: 73
Thanks! I was able to manipulate the head lines.
I agree. Here's the link: http://aspose.com/file-tools
subject: Closing Line Space
It's not a secret anymore!