[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 725
  • Last Modified:

Reduce the line spacing between the heading and an unorded list

Hi,
I would like to reduce the line spacing between the heading and an unorded list. Can this be done with css or html?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Test</title>
</head>
<body>
Heading
<ul><li>option 1</li>
  <li>option 2 </li>
</ul>
</body>
</html>

Thanks for any feedback or comments.



0
sabecs
Asked:
sabecs
1 Solution
 
arantiusCommented:
In the head:

<style>
ul { margin-top: 0; padding-top: 0; }
</style>
0
 
sabecsAuthor Commented:
Thanks arantius for your help and quick response.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now