skip to Main Content

Html – Send variable to Django crispy forms

I have 2 HTML pages choose_type.html and post_form.html. On choose_type.html: {% extends "blog/base.html" %} {% load pagination_extras %} {% block content %} <body> <div class="row"> <div class="col-sm-6 mb-3 mb-sm-0"> <div class="card"> <img src="/media/1.png" class="card-img-top m-auto" alt="..." style="width: 10rem;"> <div class="card-body">…

VIEW QUESTION

Html – How to wrap div with display: inline-flex?

<div style="width: 250px; background-color: lightcoral"> <div style="display: inline-flex;">Lorem Ipsum</div><div style="display: inline-flex;white-space-collapse: preserve;">, </div><div style="display: inline-flex;">consetetursadipscing elitr, sed diam</div> </div> <div style="width: 250px; background-color: lightyellow"> <div style="display: inline-flex;">Lorem Ipsum, consetetursadipscing elitr, sed diam</div> </div> How can I style the divs in…

VIEW QUESTION
Back To Top
Search