Simply set text-align: center;
on the container.
More Related Contents:
- The page moves to the left
- CSS display: inline vs inline-block [duplicate]
- How to style the with only CSS?
- Detect if an input has text in it using CSS — on a page I am visiting and do not control?
- CSS @media print issues with background-color;
- What, exactly, is needed for “margin: 0 auto;” to work?
- Setting width/height as percentage minus pixels
- What is the difference between :first-child and :first-of-type?
- What are the rules for CSS media query overlap?
- What does an asterisk do in a CSS property name? [duplicate]
- Background-image in keyframe does not display in Firefox or Internet Explorer
- Can you set a border opacity in CSS?
- Dynamic Sass Variables
- How can I ensure that text is inside rounded div?
- Should I use pt or px?
- CSS Parent/Ancestor Selector [duplicate]
- Symfony2 – Assetic – load images in CSS
- Styling Password Fields in CSS
- Angular dynamic background images
- Are CSS selectors case-sensitive?
- Scrollbar color change in Firefox
- Is there a way to apply styles to Safari only?
- The difference between flex:1 and flex-grow:1
- How do I apply a CSS class to Html.ActionLink in ASP.NET MVC?
- position:relative leaves an empty space
- Delay mouseout/hover with CSS3 transitions
- Is there a way to style HTML5’s range control?
- @media query not working in mobile. Works fine in Chrome
- filter: blur(1px); doesn’t work in Firefox, Internet Explorer, and Opera
- SASS CSS: Target Parent Class from Child