<p>
elements generally have margins and / or padding. You can set those to zero in a stylesheet.
li p {
margin: 0;
padding: 0;
}
Semantically speaking, however, it is fairly unusual to have a list of paragraphs.
More Related Contents:
- Text in my heading should be top not bottom [closed]
- CSS indentation not working [closed]
- How do you keep parents of floated elements from collapsing? [duplicate]
- Cut Corners using CSS
- What to use in place of ::ng-deep
- CSS Grid Layout not working in IE11 even with prefixes
- How to deal with page breaks when printing a large HTML table
- How do I change the color of radio buttons?
- How can I draw vertical text with CSS cross-browser?
- Is clearfix deprecated?
- CSS-Only Scrollable Table with fixed headers [duplicate]
- Position: absolute and parent height?
- Pure CSS multi-level drop-down menu
- How to remove the gutter (spacing) between columns in Bootstrap?
- How can I set the max-width of a table cell using percentages?
- make div’s height expand with its content
- CSS Background Opacity [duplicate]
- Make link in table cell fill the entire row height
- Flex items not respecting margins and box-sizing: border-box
- Why is text wrapping around a floating element instead of going belows like another div?
- CSS only solution to set MULTIPLE “same height” row sections on a responsive grid
- Rounded corners in outlook without images
- Same height column bootstrap 3 row responsive
- Skewed Borders on a Div
- Prevent a centered layout from shifting its position when scrollbar appears
- How to curve the div from bottom with image background
- How do I stretch a background image to cover the entire HTML element?
- wrap anchor tag around li element
- Removing the Bevel Effect on the Corner of Borders
- How to set a percentage height value in HTML/CSS