Centre an HTML element? - Post ID 247466

User 473793 Photo


Registered User
13 posts

Is it possible to centre elements? Such as an HTML element. This is the site I'm building - http://www.responsive.mcsmarts.co.uk/index.html

I'd really like to get the Facebook HTML element to be centred in the column.
User 187934 Photo


Senior Advisor
20,239 posts

Try width 50%
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2147646 Photo


Registered User
233 posts

Check Auto for the left and right margins ;)

User 473793 Photo


Registered User
13 posts

Big thanks guys. Looks much better now.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.