Small Feature Suggestions

Thomas Bruederli roundcube at gmail.com
Tue Oct 18 20:15:34 CEST 2005


Justin Frydman wrote:
>>  1) When you are reading an email message, could it be in a scroll-box
>>  like your inbox, instead of the whole webpage scrolling?  I think it
>>  looks better, is more consistant, and keeps the menus in view.
> 
> This is a simple fix.
> 
> edit skins/default/mail.css
> 
> find
> 
> 
> #messagebody
> {
>   min-height: 300px;
>   margin-top: 10px;
>   margin-bottom: 50px;
>   background-color: #FFFFFF;
>   border: 1px solid #cccccc;
>   border-top: none;
> }
> 
> change to:
> 
> 
> #messagebody
> {
>   height: 300px;
>   overflow: auto;
>   margin-top: 10px;
>   margin-bottom: 50px;
>   background-color: #FFFFFF;
>   border: 1px solid #cccccc;
>   border-top: none;
> }
> 
> where  300px is how big you want your message window before scrollbars 
> appear. Tested in latest versions of Firefox, IE and Opera.

I see, this is no problem but I'd like to have the scrollable message 
window scaled to the maximum space available (depends on the current 
window size) before start scrolling. And this is what makes it difficult 
because we don't know exactly how much space the headers will take and 
if you set height:100% it'll take 100% of the window which is too much.
> 
> Thanks,
> 
> Justin
> 
Thomas





More information about the Dev mailing list