Skip to content
Coder Cream
View website Menu
  • Home
  • Lifestyle
  • Fashion
  • Travel
  • Contact
  • Your cart
  • Type your search
0 Menu Close
  • Home
  • Lifestyle
  • Fashion
  • Travel
  • Contact
  • Your cart
  • Type your search
  • Browse Blog
  • Contact Us
  • About Us

Blog

How do I center text with CSS

How to center align text with CSS.

Source Code:

1
2
3
.yourClass {
    text-align: center;
}

Result:

Your center aligned text

You Might Also Like

Is T4 Supported In Entity Framework 3.5

November 7, 2016

data at the root level is invalid. line 1 position 1

November 7, 2016
Read more about the article How do I set a border radius in CSS

How do I set a border radius in CSS

October 15, 2016
  • About Us
  • Contact Us
  • Blog
© Copyright - OceanWP Theme by Nick
×
×

Cart