sbaaaang sbaaaang - 1 year ago 77
CSS Question

Twitter Bootstrap - how to center elements horizontally or vertically

is there any way to center html elements vertically or horizontally inside the main parents?

Answer Source

Update: while this answer was likely correct back in early 2013, it should not be used anymore. The proper solution uses offsets.

As for other users suggestion there are also native bootstrap classes available like:


thanks to @Henning and @trejder

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download