Re: Style with newforms

2007-05-15 Thread Tipan
Thanks James, that worked a treat. I did have a go at the CSS method before, but clearly couldn't do it at the lowest level. Moving up to the form tag did the trick. Simple really. Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Style with newforms

2007-05-15 Thread James Bennett
On 5/15/07, Tipan <[EMAIL PROTECTED]> wrote: > When rendered to the template, it produces a bullet point alongside > each radio button. In your template -- not in Python code -- add an HTML 'id' to your form, and then put a rule like this in your site's stylesheet: #my_form_id ul li { list-s

Style with newforms

2007-05-15 Thread Tipan
I've a form containing a field with radio buttons that accept a Yes/No response from the user, the field definition is: disp_resp = forms.ChoiceField(choices=[(True,'Yes'), (False,'No')],widget=forms.RadioSelect(), initial=False) When rendered to the template, it produces a bullet point alongsid