justinmind-logo
 
Upvote 1

How do you set an element to have equal margins on both left and right sides?

Answered Victor Conesa 8 years ago

Something similar to:


p {


margin: 0 auto;


}


in CSS.

Replies (1)
photo
1

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

Leave a Comment
 
Attach a file