Streaming live at 10am (PST)

Centre horizontal


#1

Hi, how do you centre horizontal without using flex box.


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


#2

Hey @RoseWebStudio,

Great question!

Margin: 0 auto; should horizontally center an element that has a set width.

This can be done be clicking the following in the display setting:

Hopefully this helps :nerd_face:


#3

Thanks how about vertically? Cheers


#4

@RoseWebStudio - Oh, good question.

I found the following article helpful: http://vanseodesign.com/css/vertical-centering/


#5

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.