Webflow body dimensions

What is the default body dimensions ( px) in Webflow? And how do you NOT have divs span the entire window. I want to have some margin on the sides. Do I just use margin?

Regards,
Chris


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Here is how I did it.
https://preview.webflow.com/preview/rcc-project?preview=2eada9259a0a28d266b24c8a12f74145

Hi @Cecbaby

I’m not aware of a complete list of Webflow default dimensions for their pre-made elements (but the ‘container’ element is set at 940px) so to answer your question specifically:

  • Drag in a div block and it will stretch to your screen size - until you give it a class - once it has a class name you could set margins, padding, or you could set a size for the div - for example in px / vh / vw / %

If you try to give it a size/margin before a class - for speed Webflow will auto generate a class name - but it’s best to start naming them early on before you end up with div 21, div 22 etc

More details here:

Hope that’s useful :slightly_smiling_face:

Thanks for you response. I eventually found the answer in one of the videos.

Regards,
Chris Cec

www.chriscec.com