Rachel Andrew 9/15/2026

Remove start and end margins with the margin-trim property

Read Original

A frequently asked multiple-column layout question is why a new paragraph at the start of the column has additional space above it. The space above the first column is the top margin of the initial paragraph. The space is the margin on the paragraph, which doesn’t collapse if the paragraph is inside a multicol container. The only fix is to not use a top margin on paragraphs. However, the new margi

0 comments
Remove start and end margins with the margin-trim property

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet