Streaming live at 10am (PST)

Centering elements using margin not consistent


#1

Hi @thesergie !

I read with attention this topic.

I think I got a similar issue: I can't center the content. It is centered in the design view, but not in the preview.

You can take a look at http://getfour.webflow.com/

Is it related to responsiveness ? I am ok removing responsiveness. I'd like a great Desktop view in order to iterate on a mobile version thereafter.


Designer & Preview Mode - Why Different
#2

Hi @laurentdesserre Sweet site! You are trying to center the elements in the wrong way. I would recommend removing your floats, widths and left and right margins, and just use text-align Center in the typography panel.

More info on how to center different elements:


#3

Hi @thesergie

Thanks for your reply, and glad that you like the site!

Mat made me a little screencast to help me, I got more support than I needed smile

Thank you guys,

L


#4