|
Posted by Geoff Cox on November 20, 2007, 4:10 am
Please log in for more thread options
On 19 Nov 2007 21:46:43 -0800, neverland@jwgibbs.cchem.berkeley.edu
(Pete) wrote:
>[Despite my earlier gaffe, I'll continue and hope I don't put my foot
>in it again...]
>
>>Geoff Cox < wrote:
>>>
>>> <fieldset><legend></legend>
>>> <input type="hidden" name="subject" value="Course">
>>> [....]
>>> </fieldset>
>>>
>>> this is OK with IE 7 but with Firefox 2.0.0.9 I get an empty box with
>>> a line round it.
>>>
>>> How do I get rid of this box?
>>>
>>Set the fieldset's borders to nothing or set display to hidden =]
>
><fieldset> doessn't have a 'border' attribute.. I guess you mean that
>he should use a style, which in fact does work in Firefox, but I'm not
>sure that this is the right approach anyway.
>
>What [asking the OP] is the purpose of the fieldset here, if it's not to
>group visible elements? That seems to be its intended purpose, so
>why enclose *hidden* elements at all?
>
> -- Pete --
Pete,
I have used the <fieldset> etc somply because in using
http://validator.w3.org/
it tells me that for html 4.01 strict I should!
Cheers
Geoff
|