We use cookies to ensure that we give you the best experience on our website. Click here for more information. Got it

How do you set an element to have equal margins on both left and right sides?
Something similar to:
p {
margin: 0 auto;
}
in CSS.
RESOURCES
Copyright © 2025 Justinmind
Footer policies
Footer policies
Footer policies
Hi Chad,
If you want to center an element horizontally I recommend using a container (Dynamic Panel) and set its layout 'Horizontal' and 'Center' in the properties panel.
Regards
Hi Chad,
If you want to center an element horizontally I recommend using a container (Dynamic Panel) and set its layout 'Horizontal' and 'Center' in the properties panel.
Regards
Replies have been locked on this page!