is there any way to center html elements vertically or horizontally inside the main parents?
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