Hi, all!

Whenever I try to make the dialog width be auto, it stretches to
almost 100% of the screen, instead of just enough to encompass the
dialog contents. This happens in IE 7.  I tried googling for fixes,
but found none.  Tried looking in the bugs section of the site but
received an error. Does anyone know of a workaround to make the widht
auto-stretch but not stretch too much?

Here's the example code:

                <script type="text/javascript">

                        $(function() {

                                $('#myTable').dialog({
                                        width: 'auto',
                                        height: 'auto'
                                });

                        });

                </script>

.....

                <div id="myTable" style="width:150px; height:150px">
                lsadk lasdkj sldkjf lskdj fasd
                </div>

I tried changing div to span and table, same results.


Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to