codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  DIV IFRAME simulation  Woody at 11:47 on Friday, January 23, 2009
 

Hi Everyone,

I have a div element on a page that has as a child large node (content is "Ajax'd" into this child). The containing DIV has overflow : auto so that the user can scroll up and down the large content. The function of the containing DIV is simply to provide scrollability and the dimensions of that DIV shouldn't affect the dimensions of it's content. When I use an IFRAME to provide the scrollability, resizing the IFRAME is fine. When I use the DIV, then resizing this must cause the browser to recalculate all of the childrens width which takes ages. Does anyone have any suggestions apart from using an IFRAME for this ? What I want is to be able to resize the containing element without recalculating the widths of all its children.

many thanks,
Woody.








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  somebody help me please. i becoming mad.
•  JTable in JSP page
•  Re: open excel file in html page
•  WYSIWYG Editor
•  Re: Text wrapping on C# webforms buttons
•  Re: Pcl file
•  DIV IFRAME simulation
•  Onclick does not work using input type = "button"
•  Animation works on IE but not on Firefox


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2009