Forums / Developer / maincontent hieght

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

maincontent hieght

Author Message

Anthony Kress

Thursday 31 March 2005 11:04:19 am

I probably did not explain myself well on this before. I have a special shadowed bitmap that I want to use around the maincontent.result. As the page is drawn, I need to deterime somehow the actual dynamic height of the maincontent section so I can create my bitmaps (top, left, right, and bottom) to the proper size and absolute position them on the page. I need to access a variable that lets me derive the height of the content.

Thanks for the help

Łukasz Serwatka

Thursday 31 March 2005 11:30:07 pm

Look in to
design/base/stylesheets/site.css

Set your height and overflow for main content

div#maincontent
{
    hight: 600px;
    overflow: auto;
} 

Otherwise you will have to catch main content div height by JS.

I hope it will help a little.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog