Forums / Developer / maincontent height
Anthony Kress
Wednesday 30 March 2005 8:06:28 pm
I want to dynamically create a border (gif) around the $module_result.content. Is there a way to determine the height of the content in order to set the height of the border gif???
Sebastiaan van der Vliet
Wednesday 30 March 2005 11:58:32 pm
Hi,
Why don't you create a border using css, e.g.:
border: 1px solid #4783a0;
If using css is not an option, take a look at the following links:
http://www.sitepoint.com/article/exploring-limits-css-layout/http://cross-browser.com/x/examples/layout2.html
We use the script above to match the heights of three columns on a homepage without setting a fixed height for all three.
Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.