Oct 15, 2007 #1 tviman Programmer Joined Jul 25, 2002 Messages 2,123 Location US I've looked around the 'net and I think I already know the answer but I'd thought I'd throw this out for S & G's... is it possible to calculate the height of a fixed-width div container? Thanks
I've looked around the 'net and I think I already know the answer but I'd thought I'd throw this out for S & G's... is it possible to calculate the height of a fixed-width div container? Thanks
Oct 15, 2007 #2 ca8msm Programmer Joined May 9, 2002 Messages 11,327 Location GB You should be able to do this with javascript. Try asking here: forum216 ------------------------------------------------------- Mark, [URL unfurl="true"]http://aspnetlibrary.com[/url] [URL unfurl="true"]http://mdssolutions.co.uk[/url] - Delivering professional ASP.NET solutions [URL unfurl="true"]http://weblogs.asp.net/marksmith[/url] Upvote 0 Downvote
You should be able to do this with javascript. Try asking here: forum216 ------------------------------------------------------- Mark, [URL unfurl="true"]http://aspnetlibrary.com[/url] [URL unfurl="true"]http://mdssolutions.co.uk[/url] - Delivering professional ASP.NET solutions [URL unfurl="true"]http://weblogs.asp.net/marksmith[/url]
Oct 15, 2007 #3 nickdel Programmer Joined May 11, 2006 Messages 367 Location GB tviman, you would have to do this with javascript (correct forum forum216: Javascript). Code: document.getElementById('MyDiv').offsetHeight; Cheers nick Upvote 0 Downvote
tviman, you would have to do this with javascript (correct forum forum216: Javascript). Code: document.getElementById('MyDiv').offsetHeight; Cheers nick
Oct 15, 2007 #4 feherke Programmer Joined Aug 5, 2002 Messages 9,541 Location RO Hi Personally would certainly start from Peter-Paul Koch's article, Element dimensions. Feherke. http://rootshell.be/~feherke/ Upvote 0 Downvote
Hi Personally would certainly start from Peter-Paul Koch's article, Element dimensions. Feherke. http://rootshell.be/~feherke/
Oct 15, 2007 Thread starter #5 tviman Programmer Joined Jul 25, 2002 Messages 2,123 Location US Thank you all for pointing me in the right direction! Upvote 0 Downvote