Div size issues

Div size issues

When working with a div element in the editor, you might encounter size issues, especially when it doesn't contain any child elements.

Here’s how to troubleshoot and ensure consistency:

  • Problem: Div elements without child elements often have default minimum width and height settings, which can clash with your custom styling.
  • Solution: To accurately apply your desired width and height to this div, you need to override its default settings. In the style panel, set both min-width: 0px and max-width: 0px.

Last updated: September 9, 2025

Still have more questions? Let us help!

On this page

We use cookies to improve your experience, analyze traffic, and personalize content. By clicking "Accept all" you agree to storing them on your device. Read our privacy policy.

Accept all
Reject all