You can use bootsrap4, or look at the output from the forms and set up your CSS around that.

-- Clive

On 14 May 2020, at 19:40, Anubhav Madhav wrote:

Thankyou Clive!! I know I can use CSS like that, but if I do that the problem I'll face is that the 'form' or the 'input' tags or 'submit' button, which are rendered using django forms, cannot be modified using CSS in this way. Is there any other way to fix it?

On Wednesday, 13 May 2020 18:58:08 UTC+5:30, Clive Bruton wrote:
On 12 May 2020, at 22:41, Anubhav Madhav wrote:

> Is there any way to display the forms with my HTML CSS files.

Use {% include %} (https://docs.djangoproject.com/en/3.0/ref/
templates/builtins/#include) in your HTML template files for an
embedded style sheet, or just use a link in the head of your template
to serve the .css from the "static" folder (or other remote server
location).


-- Clive
--
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/d9650e11-31a1-44ff-a4c4-2a59e7ac27cf% 40googlegroups.com.

--
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/60071141-DB7F-4D3B-8529-148FDE2A6C57%40indx.co.uk.

Reply via email to