javascript - want to decrease the size of the div which is added in dialog -


I'm adding div content to the dialog box using jquery. I am using the same device content to display in my page.Now I want to reduce the size of the content based on the percentage which I am pushing into the dialogue. But it only for the content on my page Not only should it apply to the contents of the dialogue. So how can I do this using jquery? Help me $ (function () {$ ("# main container"). Dialiog ({auto open: false, width: 50%, height: 400, autoclase: false, show ("#maincontainer") .dialog ("open"); return false;});} );

You 'height: auto' property; It can work

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -