I've been wondering about this for a long time. I thought it was about
time I asked.
When I create even the simplest widget, I see
<div style="position: absolute; z-index: -32767; top: -20cm; width:
10cm; height: 10cm;"> </div>
<div style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px;">
<div style="position: absolute; z-index: -32767; top: -20ex; width:
10em; height: 10ex;"> </div>
<div style="position: absolute; overflow: hidden; left: 0px; top: 0px;
right: 0px; bottom: 0px;">
<div style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px;">
<div style="position: absolute; z-index: -32767; top: -20ex; width:
10em; height: 10ex;"> </div>
<div style="position: absolute; overflow: hidden; left: 0px; top: 0px;
right: 0px; bottom: 0px;">
<div class="GMYET22DPF" style="position: absolute; left: 0px; top:
0px; right: 0px; bottom: 0px;">
</div>
</div>
</div>
</div>
at runtime. The middle DIV with class GMYET22DPF is (finally) my stuff. :-)
Do I really need all those extra DIVs? And all that position absolute
styling stuff? Is there a way to get rid of it or is it actually
adding value somehow?
(I am not a CSS/HTML person so to me it just seems unnecessary.)
Cheers,
Hilco
--To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/cUsZ2VaB3m4J.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
I just stumbled upon this thread, and would like to ask a quick question
regarding this:
While I like agree that this is a pretty clever way to measure EMs, etc., it
gives me a problem with all browsers except Chrome: the browsers show a
horizontal scrollbar as soon as one of these 10cm-wide divs extends beyond the
edges of the window.
Is there a way to prevent this without sacrificing functionality (like a
display:none or something), or can it be disabled, since I don't really need any
units other than px in my page?
Thank you very much for you help,
Markus
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.