aspose file tools*
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
Author

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.
Thanks
WBR

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

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

Eric
William Rouse
Ranch Hand

Joined: Apr 12, 2006
Posts: 73
Thanks! I was able to manipulate the head lines.
wBR
 
jQuery in Action, 2nd edition
 
subject: Closing Line Space