Forums / Setup & design / Scroll Bar

Scroll Bar

Author Message

Daniele Cacace

Thursday 03 February 2005 12:40:45 am

Do you have idea of like inserting a scroll bar in content view?

TNX!

Trond Hjelmaas

Saturday 05 February 2005 12:27:08 pm

Try this code:
<div id="content_container_inner">
<div id="fixedsize">
your text here to scroll
</div>
</div>

this goes in stylesheet:

div#fixedsize {
FLOAT: left;
OVERFLOW:auto;
WIDTH: 100%;
HEIGHT: 100%;
}

think the overflow is the trick (add some style info for content_container_inner).

Hope it helps :)

Daniele Cacace

Monday 07 February 2005 2:43:56 am

where I place this?

<div id="content_container_inner">
<div id="fixedsize">
your text here to scroll
</div>
</div>

:?

This i write in site.css:

this goes in stylesheet:

div#fixedsize {
FLOAT: left; 
OVERFLOW:auto; 
WIDTH: 100%; 
HEIGHT: 100%;
}

It true?

Daniele Cacace

Thursday 10 February 2005 12:48:59 am

Ok resolved TNX!

Jonathan Dillon-Hayes

Thursday 10 February 2005 1:58:19 am

Nice hack!

---------
FireBright provides advanced eZ deployment with root access
http://www.FireBright.com/