• Resolved portermonkey

    (@portermonkey)


    I have been going through fixing all my codeing errors and one that I keep geetting is to use css to center my stuff because the “div” element and the “<center>”. tags are obsolete.

Viewing 3 replies - 1 through 3 (of 3 total)
  • <p style="text-align:center;"> Your text here. </p>

    Thread Starter portermonkey

    (@portermonkey)

    Wow thank you. I did not think I could put css style right into my widget text box and was trying to link it to styles defined in my style-sheets

    You’re welcome. If you want to, you can still assign a class and define it in your style sheet if it’s something you might use often. I usually just use an inline style in a text widget if I need to alter its appearance. It works either way.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘want to center text widget using css’ is closed to new replies.