• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Closing Line Space

 
William Rouse
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Play with CSS line-height and padding

Eric
 
William Rouse
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks! I was able to manipulate the head lines.
wBR
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic