<body>
<div style="width:800px; margin:0 auto;">
centered content
</div>
</body>
More Related Contents:
- Align elements side by side
- Center a div in CSS [closed]
- Center aligning a fixed position div
- How to center absolute div horizontally using CSS?
- Center form submit buttons HTML / CSS
- How to position a div in the middle of the screen when the page is bigger than the screen
- Align vertically using CSS 3
- Center fixed div with dynamic width (CSS)
- CSS: Center block, but align contents to the left
- How would I achieve a shadow that won’t show through transparent text?
- How to center an element horizontally and vertically
- Best way to center a on a page vertically and horizontally? [duplicate]
- How to place two divs next to each other?
- How to align checkboxes and their labels consistently cross-browsers
- Why does height 100% work when DOCTYPE is removed?
- iPad Safari scrolling causes HTML elements to disappear and reappear with a delay
- Does height and width not apply to span?
- Changing three.js background to transparent or other color
- How can I ensure that text is inside rounded div?
- Div height 100% and expands to fit content [duplicate]
- Add a text suffix to
- html5 vertical spacing issue with
- Nested rows with bootstrap grid system?
- How to write a caption under an image?
- How do I line up 3 divs on the same row?
- How to center an unordered list?
- CSS: How to align vertically a “label” and “input” inside a “div”?
- Div side by side without float
- Full background image with fade effect
- CSS Floating Divs with different height are aligned with space between them