Re: Help on scrolling document content
Tonico Strasser <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.design |
|---|---|
| Message-ID | <[email protected]> |
Mirto Silvio Busico wrote: > Hi all, > I'm triyng to have a plone site with only the central column scrolling. > > My first attempt is reported in the snippet below (a change in > plone.css.dtml). > > It works but my proble is that I'n not able to determine the height of > the viewport. > I used a fixed height of 300 pixel, but this can be too mach or to less > as you cange the screen resolution, the browser, the visible toolbars in > the browser and so on. It is very tricky to use heights relative to the viewport. You will need an element with 100% height first. See <http://www.quirksmode.org/css/100percheight.html> for an introduction. You must decide which browsers you want to support, and if you want to work in quirks mode. Tonico ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click