Hmmmm, I just put together my first small ops form:
http://www.telcoforum2007.de/ Everything works fine, but I just discovered that the box around the required inputs name and email is not displayed in Internet Explorer. I just deleted my stylesheet but it stays the same... I installed orbeon 3.5 stable but it stays the same... Right now the server is running the nightly build, and it stays the same.... Any ideas / helps /tips? setting a border for xforms-required-empty does not help. The border is displayed as soon as someone enters at least one character Cheers, Mathias -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Mathias,
I had a similar problem and I finally realized that IE doesn't handle some of the CSS settings. In my particular case I wanted a border around the current input field. Easy to do with CSS and worked fine with Firefos, but I had to resort to JavaScript to make it work for IE. I used basically things like input-field.style.border = "solid".. Hope this helps, Luiz -----Mensagem original----- De: Mathias Picker [mailto:[hidden email]] Enviada em: terça-feira, 31 de julho de 2007 03:18 Para: [hidden email] Assunto: [ops-users] xforms css: box around text input vanishes in IE Hmmmm, I just put together my first small ops form: http://www.telcoforum2007.de/ Everything works fine, but I just discovered that the box around the required inputs name and email is not displayed in Internet Explorer. I just deleted my stylesheet but it stays the same... I installed orbeon 3.5 stable but it stays the same... Right now the server is running the nightly build, and it stays the same.... Any ideas / helps /tips? setting a border for xforms-required-empty does not help. The border is displayed as soon as someone enters at least one character Cheers, Mathias -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
> Everything works fine, but I just discovered that the box around the
> required inputs name and email is not displayed in Internet Explorer. Maybe this helps: http://www.quirksmode.org/css/condcom.html With conditional comments you can give special instructions to Internet Explorer browsers, e.g. if the user uses IE browser an alternative CSS file is used: <link rel="stylesheet" type="text/css" href="default_style.css"> <!--[if IE]> <link rel="stylesheet" type="text/css" href="ie_style.css" /> <![endif]--> Regards -Markku -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Well, I found it yesterday night:
In orbeons stylsheet there is this: span.xforms-select-appearance-full.xforms-required-empty input, span.xforms-select1-appearance-full.xforms-required-empty input { border: none; } and setting it to border: 1px solid somecolor; changes that Internet Explorer behaviour. Firefox does not apply that setting to the input field. And it shouldn't, the classes mentioned are nowhere in the generated html.... but IE still reacts to this.... ? Anyway, it works now. Cheers, Mathias -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
On 8/1/07, Mathias Picker <[hidden email]> wrote:
> Well, I found it yesterday night: > > In orbeons stylsheet there is this: > > span.xforms-select-appearance-full.xforms-required-empty input, > span.xforms-select1-appearance-full.xforms-required-empty input { > border: none; > } > > and setting it to border: 1px solid somecolor; changes that Internet > Explorer behaviour. Firefox does not apply that setting to the input > field. And it shouldn't, the classes mentioned are nowhere in the > generated html.... but IE still reacts to this.... ? > > Anyway, it works now. If it makes sense we would like to make this change in the build as well. Otherwise this will become a maintenance issue, where you need to merge your xforms.css with the one in the Orbeon Forms jar every time you get a new build. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
No, I didn't, since the ie behaviour didn't make any sense to me, and I
didn't have a way to test ie7... Also, this border:none might make some sense somewhere and I do not claim to know or understand all the css orbeon is using :-) I could override it with no ill effect for the rest of my app, but it's a simple page so I do not know where this change might turn and bite me. On the other hand, I can envision no place where border:none would be helpful...? Cheers, Mathias P.S.: And since I'm new here & used forms only for the 2nd time: I'm generally impressed by the functionality of forms and by the level and speed of support on this list. Since eXist has also gotten faster, I will probably start to use it for at least one open site, and I'm looking forward to it. BTW: jetty 6 is much faster for me than tomcat. I didn't do any formal testing, but simple page-loading seems to be 2/3 of tomcat6. And behind nginx for statuc pages it really starts to perform allmost ok ... ;) My main (only?) problem so far: the css is so involved, that I get to many hard to solve problems. Two problems for one small page is just way to many. And I still haven't solved one of them - firefox not displaying the text insert cursor.... Am Mittwoch, den 01.08.2007, 19:14 -0700 schrieb Alessandro Vernet: > On 8/1/07, Mathias Picker <[hidden email]> wrote: > > Well, I found it yesterday night: > > > > In orbeons stylsheet there is this: > > > > span.xforms-select-appearance-full.xforms-required-empty input, > > span.xforms-select1-appearance-full.xforms-required-empty input { > > border: none; > > } > > > > and setting it to border: 1px solid somecolor; changes that Internet > > Explorer behaviour. Firefox does not apply that setting to the input > > field. And it shouldn't, the classes mentioned are nowhere in the > > generated html.... but IE still reacts to this.... ? > > > > Anyway, it works now. > > Did you change the xforms.css to make this work? > > If it makes sense we would like to make this change in the build as > well. Otherwise this will become a maintenance issue, where you need > to merge your xforms.css with the one in the Orbeon Forms jar every > time you get a new build. > > Alex > einfaches Textdokument-Anlage (message-footer.txt) > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Mathias Picker wrote:
> My main (only?) problem so far: the css is so involved, that I get to > many hard to solve problems. Two problems for one small page is just way > to many. And I still haven't solved one of them - firefox not displaying > the text insert cursor.... We do have at least one RFE to make CSS more consistent. This is one of them: http://forge.objectweb.org/tracker/index.php?func=detail&aid=304727&group_id=168&atid=350207 Another (remote) idea is to add a CSS parser to Orbeon to allow using more standard CSS classes for XForms and transform them into regular CSS as supported by the browser. In addition to that, in general many issues arise from the appalling CSS support in IE 6. -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by Mathias Picker
I know why we add the "border: none" rule: if we don't, we get borders
around each checkbox, as visible in the with-border.png attached. With the rule, then we get the result in without-border.png. This is supposed to only impact xforms-select-appearance-full and xforms-select1-appearance-full, but of course IE's CSS support being quite broken, it probably has unintended consequences. But this said I am not 100% sure I see what issue you are having. You you attach a screenshot? -Erik Mathias Picker wrote: > No, I didn't, since the ie behaviour didn't make any sense to me, and I > didn't have a way to test ie7... > > Also, this border:none might make some sense somewhere and I do not > claim to know or understand all the css orbeon is using :-) > > I could override it with no ill effect for the rest of my app, but it's > a simple page so I do not know where this change might turn and bite me. > > On the other hand, I can envision no place where border:none would be > helpful...? > > Cheers, Mathias > > P.S.: And since I'm new here & used forms only for the 2nd time: > > I'm generally impressed by the functionality of forms and by the level > and speed of support on this list. Since eXist has also gotten faster, I > will probably start to use it for at least one open site, and I'm > looking forward to it. BTW: jetty 6 is much faster for me than tomcat. I > didn't do any formal testing, but simple page-loading seems to be 2/3 of > tomcat6. And behind nginx for statuc pages it really starts to perform > allmost ok ... ;) > > My main (only?) problem so far: the css is so involved, that I get to > many hard to solve problems. Two problems for one small page is just way > to many. And I still haven't solved one of them - firefox not displaying > the text insert cursor.... > > > Am Mittwoch, den 01.08.2007, 19:14 -0700 schrieb Alessandro Vernet: >> On 8/1/07, Mathias Picker <[hidden email]> wrote: >>> Well, I found it yesterday night: >>> >>> In orbeons stylsheet there is this: >>> >>> span.xforms-select-appearance-full.xforms-required-empty input, >>> span.xforms-select1-appearance-full.xforms-required-empty input { >>> border: none; >>> } >>> >>> and setting it to border: 1px solid somecolor; changes that Internet >>> Explorer behaviour. Firefox does not apply that setting to the input >>> field. And it shouldn't, the classes mentioned are nowhere in the >>> generated html.... but IE still reacts to this.... ? >>> >>> Anyway, it works now. >> Did you change the xforms.css to make this work? >> >> If it makes sense we would like to make this change in the build as >> well. Otherwise this will become a maintenance issue, where you need >> to merge your xforms.css with the one in the Orbeon Forms jar every >> time you get a new build. >> >> Alex >> einfaches Textdokument-Anlage (message-footer.txt) >> -- >> You receive this message as a subscriber of the [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |