Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2017
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    How I center the text in the middle?

    Hello, I have a problem.
    How I center the text in the middle?
    Imgur: The most awesome images on the Internet
    Code of index.
    https://pastebin.com/uU84j4kY
    Sorry for my english. Thanks.

  2. #2
    Senior Coder jmrker's Avatar
    Join Date
    Aug 2006
    Location
    TX
    Posts
    3,947
    Thanks
    66
    Thanked 601 Times in 595 Posts

    Lightbulb

    Use <div style="text-align: center"> X </div>
    or consider using <figurecaption> tags
    See: https://www.w3schools.com/TAGS/tag_figcaption.asp
    or: HTML5 figure and figure caption elements - TechRepublic

    BTW, welcome to the forums.


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •