I know how to center the horizontal alignment of a div in CSS. You need to make the width less than 100% and have an automatic margin on the left and right sides. I want to make this default Twitter Bootstrap style. I do not want to write extra CSS. Want to know if you can use the default style used by Twitter Bootstrap.
To set the width of the div, I use span* . But span* is float: left . Is there any class that can set the width of the div but won't add float: left ?
source share