Ian Young wrote: > To: CSS List > Subject: [css-d] overflow: auto elements receiving focus when tabbing > > > I have a form that I structured using a div wrapped around each > label-input pair. I floated the labels, so in order to make the divs > contain the floats, I added overflow: auto to them. This worked fine, > but it resulted in the divs receiving focus as I tried to tab from form > field to form field in Firefox. This was mildly annoying, so I replaced > it with floating the divs, which also contained the floats and didn't > have such a side effect. > > But I'm curious whether Firefox's behavior is correct. Are elements with > overflow: auto supposed to receive focus? Or are they not? .... > > I am not qualified to answer that, but the divs work without the > overflow:auto. >
I know that, Ian. :-) As I said, I replaced the overflow with something else. My question was whether elements with overflow: auto set on them should automatically receive focus when tabbing. By the way, Ian, since I have your attention, can you please format your mail client to put greater than signs > before each line of text of the previous poster's text? This is an established way of marking quoted text. As you can see from the quoted text above, without those > your text blends in completely with my text, making it impossible to see where my text ends and yours begins. This makes reading your messages to the list extremely difficult, and I'm sure I'm not the only member of the list who would appreciate it if you formatted your replies better. Thanks, Zoe -- Zoe M. Gillenwater Design Services Manager UNC Highway Safety Research Center http://www.hsrc.unc.edu ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/