Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autofit window built from dynamic data.

Status
Not open for further replies.
Apr 9, 2002
6
0
0
US
I am building a HTML table from our database and then using a Javascript funtion to open a new window and writing the HTML to that window. I would like to be able to resize the window to just contain the area of the table. The 'window.resizeTo' and other methods need tto know the absolute size. There are many examples of resizing for an image but not resizing for HTML content. Does anyone have any methods that can be used to make this popup just the required size. ANy help would be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top