-1

the code i've writed so far:

<div>
<h1>Classification <br>of raid levels</h1>
</div>
<table>
...
</table>

there is space between the div and the table, and i would like to remove it using the css, is it possible?

that's how it comes now:

salex
  • 77
  • 3
  • Questions seeking code help must include the shortest code necessary to reproduce it **in the question itself** preferably in a [**Stack Snippet**](https://blog.stackoverflow.com/2014/09/introducing-runnable-javascript-css-and-html-code-snippets/). See [**How to create a Minimal, Reproducible Example**](http://stackoverflow.com/help/reprex) – Paulie_D Mar 02 '21 at 21:03
  • I think your header has margin set to something. Try set `h1{margin: 0}` in css. – Kretiss Mar 02 '21 at 21:05

2 Answers2

1

Set margin: 0 on h1

h1 {
  margin: 0;
}
<div>
<h1>Classification <br>of raid levels</h1>
</div>
<table>
...
</table>
Lundstromski
  • 1,197
  • 2
  • 8
  • 17
1

Add margin-bottom:0; to the div or maybe a margin-top on the table? Have to use your dev tools and see where it is.

Ryan Thomas
  • 488
  • 4
  • 14