Centering text and other elements can easily be done with
the CSS text-align property. It can be applied to a division, the p tag –
pretty much any block-level element.
Applying this to an internal or external style sheet:
p {text-align: center;}
|
or this to inline styling:
<p style="text-align: center;">This is
centered text</p>
|
will center your text.
- See more at: http://www.websitecodemaker.com/blog
All css and css3 for css tools and css3 tools with css code generator and css3 code generator. All css generator and css3 generator for css button gerator and css3 button generator, css gradient generator and css3 gradient generator, css menu maker and css menu maker, css button maker and css3 button maker other help css editor and css3 editor.
No comments:
Post a Comment