I'm not entirely sure I understand the question, but a form generated
by newforms and rendered through a template can easily just have a CSS
file attached to it like you would normal HTML.

I just have a standard <link rel="stylesheet" type="text/css"
href="includes/css/form.css" />  at the top of a template that I pass
the modelform created form to.



On Jun 2, 1:23 pm, Mayank Dhingra <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was looking to add custom css to the fields of a (new)form that I
> created using ModelForm
> but couldn't find any mention or discussion on it.
>
> Does any know know how can I achieve it ?
>
> Thanks in advance,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to