Help on scrolling document content
Mirto Silvio Busico <mbusico-+bmjRK/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.design |
|---|---|
| Message-ID | <[email protected]> |
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.
Anyone can help me in solve this problem?
regards
Mirto
=================================snip start ===========================
.documentContent {
font-size: 110%;
padding: 0em 1em 2em 1em !important;
background: &dtml-backgroundColor;;
height: 300px;
overflow: scroll;
}
=====================================snip end =======================
--
__________________________________________________________
Mirto Silvio Busico ICT Consultant
Tel. +39 333 4562651
-------------------------------------------------------
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