Re: [WSG] form hidden field ?
- - This is an automatic reply - - I am on leave until Monday 31 Oct If your email is regarding the University webite, please email [EMAIL PROTECTED] in my absence, or contact: Sarah Bell Marketing Communications Manager e: [EMAIL PROTECTED] t: 023 9284 2948 or Paul Krycler Web Content Editor e: [EMAIL PROTECTED] t: 023 9284 2747 Regards, James Mellor ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] form hidden field ?
csslist said: > thanks guys :) > I actually cheated and just took it out and put it elsewhere... > > I couldnt take the Block display off because then it screws up form. > good catch though Joshua :) Another fix for CSS2.1 compliant browsers (i.e. not IE): input[type=hidden] { display:none; } or input[type=hidden] { position:absolute; left: -px; } kind regards Terrence Wood ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] form hidden field ?
Set it's display to none. Joshua Street wrote: Example link? On 10/29/05, csslist <[EMAIL PROTECTED]> wrote: I have a hidden field in a css styled form and when you view the page it's shown as a line in firefox, any ideas? tia dave -- Joshua Street http://www.joahua.com/ +61 (0) 425 808 469 ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] form hidden field ?
Dave, Firefox is rendering the border you've defined on the input selector. Use inline CSS of border:0; or give it a class/ID (as you have the other form elements) and add a rule to your stylesheet to stop this from appearing. I remember this bug from Mozilla a long time ago. I did this: input[type=hidden] { display: none !important; // or whatever rules you need to override } /AndersN ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] form hidden field ?
thanks guys :)I actually cheated and just took it out and put it elsewhere...I couldnt take the Block display off because then it screws up form.good catch though Joshua :)daveFrom: Joshua Street <[EMAIL PROTECTED]>Sent: Saturday, October 29, 2005 2:44 AMTo: wsg@webstandardsgroup.orgSubject: Re: [WSG] form hidden field ?Ahh, beautiful. This site serves a dual purpose!To Joe Taylor's earlier remark that "I would be concerned about a bugonly showing up in Firefox, I believe that hiding something fromFirefox is not the way to go, but rather, make it right in Firefox andthen worry about the others." -- observe this site. Clearly, Firefoxis not infallible -- or, in the case that its rendering here fallswithin recommendations, it is at very least illogical andcounter-intuitive. I note that Opera and Konqueror (Safari-ish) renderthis page quite sensibly, properly hiding the element. Of course, wedon't need to revert to hacks to resolve this, but your (seemingly)blind faith in Firefox's correctness is discomforting.Dave, Firefox is rendering the border you've defined on the inputselector. Use inline CSS of border:0; or give it a class/ID (as youhave the other form elements) and add a rule to your stylesheet tostop this from appearing.HTH,JoshOn 10/29/05, csslist <[EMAIL PROTECTED]> wrote:> http://65.36.226.10/contact/contact.cfm>> > From: Joshua Street <[EMAIL PROTECTED]>> Sent: Saturday, October 29, 2005 2:11 AM> To: wsg@webstandardsgroup.org> Subject: Re: [WSG] form hidden field ?>> Example link?>>> On 10/29/05, csslist wrote:> > I have a hidden field in a css styled form and when you view the page it's> > shown as a line in firefox, any ideas?> > tia> >> > dave> >> >>>> --> Joshua Street>> http://www.joahua.com/> +61 (0) 425 808 469> **> The discussion list for http://webstandardsgroup.org/>> See http://webstandardsgroup.org/mail/guidelines.cfm> for some hints on posting to the list & getting help> **>>>--Joshua Streethttp://www.joahua.com/+61 (0) 425 808 469**The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help**
Re: [WSG] form hidden field ?
On 10/29/05, Bert Doorn <[EMAIL PROTECTED]> wrote: > I'd say this is why you see the line - your hidden input will be > given display:block, with that border. > > Removing display:block should fix it. Ah, that makes more sense than mine :P Guess I was in too much of a hurry to make a point! -- Joshua Street http://www.joahua.com/ +61 (0) 425 808 469 ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] form hidden field ?
Ahh, beautiful. This site serves a dual purpose! To Joe Taylor's earlier remark that "I would be concerned about a bug only showing up in Firefox, I believe that hiding something from Firefox is not the way to go, but rather, make it right in Firefox and then worry about the others." -- observe this site. Clearly, Firefox is not infallible -- or, in the case that its rendering here falls within recommendations, it is at very least illogical and counter-intuitive. I note that Opera and Konqueror (Safari-ish) render this page quite sensibly, properly hiding the element. Of course, we don't need to revert to hacks to resolve this, but your (seemingly) blind faith in Firefox's correctness is discomforting. Dave, Firefox is rendering the border you've defined on the input selector. Use inline CSS of border:0; or give it a class/ID (as you have the other form elements) and add a rule to your stylesheet to stop this from appearing. HTH, Josh On 10/29/05, csslist <[EMAIL PROTECTED]> wrote: > http://65.36.226.10/contact/contact.cfm > > > From: Joshua Street <[EMAIL PROTECTED]> > Sent: Saturday, October 29, 2005 2:11 AM > To: wsg@webstandardsgroup.org > Subject: Re: [WSG] form hidden field ? > > Example link? > > > On 10/29/05, csslist wrote: > > I have a hidden field in a css styled form and when you view the page it's > > shown as a line in firefox, any ideas? > > tia > > > > dave > > > > > > > -- > Joshua Street > > http://www.joahua.com/ > +61 (0) 425 808 469 > ** > The discussion list for http://webstandardsgroup.org/ > > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ** > > > -- Joshua Street http://www.joahua.com/ +61 (0) 425 808 469 ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] form hidden field ?
G'day I have a hidden field in a css styled form and when you view the page it's shown as a line in firefox, any ideas? In your css: input,textarea { color: #ff; background-color: #58829A; border: 1px solid #27455f; display: block; etc I'd say this is why you see the line - your hidden input will be given display:block, with that border. Removing display:block should fix it. Regards -- Bert Doorn, Better Web Design http://www.betterwebdesign.com.au/ Fast-loading, user-friendly websites ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] form hidden field ?
http://65.36.226.10/contact/contact.cfmFrom: Joshua Street <[EMAIL PROTECTED]>Sent: Saturday, October 29, 2005 2:11 AMTo: wsg@webstandardsgroup.orgSubject: Re: [WSG] form hidden field ?Example link?On 10/29/05, csslist <[EMAIL PROTECTED]> wrote:> I have a hidden field in a css styled form and when you view the page it's> shown as a line in firefox, any ideas?> tia>> dave>>--Joshua Streethttp://www.joahua.com/+61 (0) 425 808 469**The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help**
Re: [WSG] form hidden field ?
Example link? On 10/29/05, csslist <[EMAIL PROTECTED]> wrote: > I have a hidden field in a css styled form and when you view the page it's > shown as a line in firefox, any ideas? > tia > > dave > > -- Joshua Street http://www.joahua.com/ +61 (0) 425 808 469 ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
[WSG] form hidden field ?
I have a hidden field in a css styled form and when you view the page it's shown as a line in firefox, any ideas?tiadave