Is your first element h1
or similar? That element’s margin-top
could be causing what seems like a margin on body
.
More Related Contents:
- elements are not centered aligned inside the wrapper and when I set the width of the wrapper it goes out of the browser width..any solution?
- How can I center text (horizontally and vertically) inside a div block?
- Why not use tables for layout in HTML? [closed]
- How do I auto-resize an image to fit a ‘div’ container?
- How can I position my div at the bottom of its container?
- Can I create a div with a Curved bottom?
- How to make a HTML Page in A4 paper size page(s)?
- How do I not underline an element in a link?
- Best Practices & Considerations when writing HTML Emails [closed]
- Is there a way to style part of an input field’s value? [duplicate]
- Add border-bottom to table row
- How to set maximum height for table-cell?
- How does this CSS produce a circle?
- CSS fixed width in a span
- Chrome rendering issue. Fixed position anchor with UL in body
- Why is an element with position: fixed moving with a non-positioned sibling?
- Printing HTML table with many columns/rows using CSS layout?
- flex-grow not working in column layout
- Min-width and max-height for table attributes
- Empty vertical space between columns in Bootstrap 4
- Select second last element with css
- Css transition from display none to display block, navigation with subnav [duplicate]
- Apply CSS Style on all elements except with a SPECIFIC ID
- Is there a way to get a textarea to stretch to fit its content without using PHP or JavaScript?
- Select option padding not working in chrome
- How to make bootstrap carousel image responsive?
- Background-Color of BODY tag applied to the whole HTML [duplicate]
- How To Add CSS3 Transition With HTML5 details/summary tag reveal?
- How to implement a Navbar Dropdown Hover in Bootstrap v4?
- Balanced text wrapping in HTML