I'm using a WYSIWYG HTML editor that supports vertical and horizontal scrolling. I want to limit the area that users can edit. My editor doesn't support this so I need to come up with some way to determine the rendered dimensions of the XHTML.
I figure the easiet way to do this will be to extract the XHTML when it's updated using javascript and check if the rendered size is larger than I have specified. If it is I can use undo method in the editor or some other sort of notification.
How can I find the rendered dimensions of some xhtml using javascript? (I'm working in .Net2)
I figure the easiet way to do this will be to extract the XHTML when it's updated using javascript and check if the rendered size is larger than I have specified. If it is I can use undo method in the editor or some other sort of notification.
How can I find the rendered dimensions of some xhtml using javascript? (I'm working in .Net2)
Comment