Click here to get back home

firefox
oddity?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
firefox
oddity?
Geoff Cox 11-19-2007
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

Posted by rf on November 20, 2007, 4:35 am
Please log in for more thread options

"Geoff Cox >" <<> wrote in message

> 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!

No it does not. It says that input elements within a form must be surrounded
by a block element, fieldset being one of them. You could quite as easily
use a div, just to placate the validator.

Why does your form consist entirely of hidden elements. Looks like you are
trying to emulate a poor mans session.

--
Richard.



Posted by Geoff Cox on November 20, 2007, 4:42 am
Please log in for more thread options

>
>"Geoff Cox >" <<> wrote in message
>
>> 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!
>
>No it does not. It says that input elements within a form must be surrounded
>by a block element, fieldset being one of them. You could quite as easily
>use a div, just to placate the validator.
>
>Why does your form consist entirely of hidden elements. Looks like you are
>trying to emulate a poor mans session.

no - I am talking about just those parts of the from which have hidden
items such as the email title, the redirection file name etc.

incidentally using css and border:none; does remove the border for
Firefox - IE didn't need this.

will check the validator again!

Cheers

Geoff

Posted by Geoff Cox on November 20, 2007, 4:47 am
Please log in for more thread options

>
>"Geoff Cox >" <<> wrote in message
>
>> 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!
>
>No it does not. It says that input elements within a form must be surrounded
>by a block element, fieldset being one of them. You could quite as easily
>use a div, just to placate the validator.
>
>Why does your form consist entirely of hidden elements. Looks like you are
>trying to emulate a poor mans session.

You were correct! just putting the hidden parts into a <div> works and
also gets rid of the black space which a <fieldset class= etc> causes.

Thanks for that!

Cheers

Geoff

Posted by rf on November 20, 2007, 5:29 am
Please log in for more thread options

"Geoff Cox >" <<> wrote in message
>
>>
>>"Geoff Cox >" <<> wrote in message
>>
>>> 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!
>>
>>No it does not. It says that input elements within a form must be
>>surrounded


s/surrounded/contained in/


>>by a block element, fieldset being one of them. You could quite as easily
>>use a div, just to placate the validator.
>>
>>Why does your form consist entirely of hidden elements. Looks like you are
>>trying to emulate a poor mans session.
>
> You were correct! just putting the hidden parts into a <div> works and
> also gets rid of the black space which a <fieldset class= etc> causes.

> Thanks for that!

No problem. However, what I usually do is just include all the hidden fields
at the top of the first fieldset within the form, assuming you are using
fieldsets to prettily lay out the form. They don't need their own fieldset
or div, being invisible anyway.

--
Richard.



Similar ThreadsPosted
XHTML & CSS Font-Size Oddity.. May 18, 2007, 4:23 pm
DIV not recognized by Firefox - It works only in IE - How to replace it for Firefox? May 8, 2007, 5:13 pm
Firefox and IE are different June 20, 2005, 3:28 am
Why does Firefox use 47 MB of RAM? December 26, 2005, 6:28 am
Firefox bug? April 1, 2008, 9:01 am
Firefox floating bug? November 18, 2004, 4:07 pm
Firefox Fanpage December 5, 2005, 4:50 pm
a img underline - firefox bug?? March 21, 2006, 11:29 am
Excel's xml in my firefox June 27, 2006, 6:32 pm
Firefox applies CSS but IE not July 5, 2006, 10:25 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap