This is a styling issue (aka CSS). The best answer depends on the CSS
framework (if any) you might be using.
Or you can just apply:
.text-center {
text-align: center;
}
on the containing div.
On Wed, May 3, 2023 at 12:19 AM William Nash (Bill) <[email protected]>
wrote:
> I'm working on a small program that will help me in my dive shop. Since
> I'm trying to learn to program in Python using Django, I wanted to create
> something to help me. My issue is I cannot figure out how to center items
> on my page. For example (see screen shot)
>
> My code is located on Github: https://github.com/wrnash1/ascubadiving
>
> Any suggestions on how I can improve the site?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/85cc96d8-53f2-43d4-8521-84819473f307n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/85cc96d8-53f2-43d4-8521-84819473f307n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAE5VhgWKZDHg1M1gbn19%2BbbvT8QTsTk_WnEXge_ufneA0aKrFA%40mail.gmail.com.