Have you ever put in a header tag (h1, h2, h3, h4, h5, h6) and struggle to get rid of the extra space underneath the tag? I do this all the time and I finally found the cure today. To get a header tag to be inline with the rest of the HTML code, just add display:inline to your stylesheet. It’s a simple as that. Now your header tag won’t have all that extra space after it and it can blend in nicely. 😎
-
My 2025 Job Search Reality Check
7 Oct, 2025
-
30 Jul, 2025
-
AI’s not taking my software developer job… yet.
23 Jun, 2025
-
20 Apr, 2025
-
My 2025 Job Search Reality Check
7 Oct, 2025
-
31 Oct, 2024
-
15 Dec, 2024
-
16 Jan, 2025
i guess this would work for any block level element, sometimes i forget you can chage elements to be inline.