[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

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

Omit the extra line above and below a <h1> tag?

Hi

Is there a way to use css so that if you use a <h1></h1> that it will not add that extra line above and below?
0
PeterdeB
Asked:
PeterdeB
1 Solution
 
glumlunCommented:
In css yes;

Add

h1 {
margin: 0;
padding: 0;
}
0
 
PeterdeBAuthor Commented:
Wow thank you very much for your swift and accurate answer, i really was getting a headache regarding my site and those evil lines haha
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