![]() | |
![]() |
| | Thread Tools | Display Modes |
#31
| |||
| |||
|
|
sheldonlg <sheldonlg> wrote in news:C92dnYGdeef5CKzVnZ2dnUVZ_obinZ2d (AT) giganews (DOT) com: BootNic wrote: sheldonlg <sheldonlg> wrote in news:ZI2dncLHiYZJ5azVnZ2dnUVZ_g- dnZ2d (AT) giganews (DOT) com: [snip] #header { padding: 2%; } #onebar padding: 2% 50px 2% 50px; } .exclude_form_class {visibility: hidden;} * html .exclude_form_class {position:absolute;} This is not a javascript issue, it is a style issue. The issue is the visibility:hidden; it dose not remove exclude_from_class, it just hides it. It is above the other content. Remove the visibility:hidden; give it a background-color and you will see what is taking place. Adding back visibility:hidden just hides the issue. Any one of the following may work. 1. For IE you may give exclude_form_class a z-index:-1; 2. Give images position:relative: z-index:100; 3. Use display:none; rather then visibility:hidden; Some of your other examples also has a similar issue in IE7 depending on the width of the window. No, z-index won't do. I want to have that block NOT be visible at all until the user clicks a button (not shown in this sample app) to change it style to visible. At that point it should appear at a fixed position on the screen -- regardless of scrolling the rest of the document -- and appear above the rest of the document. Using display: hide will cause it to fit itself into wherever it was clicked. Also, it is not an inline block. There are multiple places in the (real) document that invoke it to appear. So, the proper setting is "visibility". visibility:hidden; the element still takes up space, holds the position, it's just hidden. The issue is that it is on top of the image you wish to be clicked, and you can't click through exclude_form_class to the image. |
#32
| |||
| |||
|
|
BootNic wrote: sheldonlg <sheldonlg> wrote in news:C92dnYGdeef5CKzVnZ2dnUVZ_obinZ2d (AT) giganews (DOT) com: [snip] visibility:hidden; the element still takes up space, holds the position, it's just hidden. The issue is that it is on top of the image you wish to be clicked, and you can't click through exclude_form_class to the image. I think I see now what you are saying. So, if I understand you correctly, I can still keep the visibility as "hidden" (because I want it to appear in the same spot no matter which of the many buttons is clicked to make it visible), but to give it a z-index of "-1". Then, when made visible, also change the z-index to "100". When hiding it again, also change the z-index back to "-1". That way it will appear on top when I want, but will not be "clicked through" when hidden. Do I understand you clearly now? |
#33
| |||
| |||
|
|
sheldonlg <sheldonlg> wrote in news:2fSdncrzhOGcMqzVnZ2dnUVZ_o3inZ2d (AT) giganews (DOT) com: BootNic wrote: sheldonlg <sheldonlg> wrote in news:C92dnYGdeef5CKzVnZ2dnUVZ_obinZ2d (AT) giganews (DOT) com: [snip] visibility:hidden; the element still takes up space, holds the position, it's just hidden. The issue is that it is on top of the image you wish to be clicked, and you can't click through exclude_form_class to the image. I think I see now what you are saying. So, if I understand you correctly, I can still keep the visibility as "hidden" (because I want it to appear in the same spot no matter which of the many buttons is clicked to make it visible), but to give it a z-index of "-1". Then, when made visible, also change the z-index to "100". When hiding it again, also change the z-index back to "-1". That way it will appear on top when I want, but will not be "clicked through" when hidden. Do I understand you clearly now? You could keep visibility:hidden, but display:none would be better. If you are setting a position fixed/absolute, then all visibility:hidden does is take up space, you can toggle display and have the same effect without taking up space when it's not shown, and therefore no need to toggle z-index. The position will remain the same regardless if it's display:none or visibility:hidden, just one takes up space and the other does not. [snip] |
#34
| |||
| |||
|
|
What do you mean by "dirt tolerance dependent"? This app validates perfectly in W3C. (Remember that I am a php/application/back-end programmer and JS and CSS are relatively new to me). |
#35
| |||
| |||
|
|
[...] Yet table manipulations in fact is not a rocket science and aside of "display" property values glitch between different browsers it is pretty straightforward with browsers instructed to get as much as they can from the provided source. Here for instance a rather nasty test with multiple tbodies: http://transmodal.sourceforge.net/tm...e_torture.html Opera gets funny on rendering but still functional, IE6, FF and Sa are just fine. |
#36
| |||
| |||
|
|
VK wrote: [...] Yet table manipulations in fact is not a rocket science and aside of "display" property values glitch between different browsers it is pretty straightforward with browsers instructed to get as much as they can from the provided source. Here for instance a rather nasty test with multiple tbodies: http://transmodal.sourceforge.net/tm...ture.htmlOpera gets funny on rendering but still functional, IE6, FF and Sa are just fine. Given that a table may have more than one `tbody' element per Specification, Opera 9.27's behavior is simply a bug and unlikely to be the result of built-in error correction. |
|
You should make improvements on your test cases if you want them to be reliable. This one is not even Valid to begin with, and I don't mean the multiple TBODY elements (obviously). Press Ctrl+Alt+V in Opera, go to http://validator.w3.org/otherwise. |
#37
| |||
| |||
|
|
go to http://validator.w3.org/otherwise Oh, who cares of this old guiser. It endlessly complains on anything new what happened in the Web over the last ten years. I am still too young to come listen an old man mumbling complains on how the world became bad - especially from an electronic one :-) |
#38
| |||
| |||
|
|
go to http://validator.w3.org/otherwise Oh, who cares of this old guiser. It endlessly complains on anything new what happened in the Web over the last ten years. I am still too young to come listen an old man mumbling complains on how the world became bad - especially from an electronic one :-) Yet OK, a bit of respect to the ol' man. I placed the caption where it makes him all green-happy :-) http://transmodal.sourceforge.net/tm...e_torture.html (reload to see) doesn't help to Opera too much though. |
#39
| |||
| |||
|
|
col span="1000" width="*" What should a ua do when there are less then 1000 columns? |
![]() |
| Thread Tools | |
| Display Modes | |
| |