You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Oliver Wulff <ol...@zurich.ch> on 2003/12/08 22:23:36 UTC

RE: Tiles, fixed height, scrollbar




Do you have a small example?
I tried it in this way <div height="200"> but it didn't work. Should a
scrollbar be shown?

I also tried the following <div class="list"> and the definition in the css
file
div.list {
height: 100px;
}
But it doesn't work either.

Oliver

**************************************************************************

I use divs to create a tabbed interface, with a tile per tab for the
content.  The divs can have a fixed height.

--
Voytek Jarnot
Quantum materiae materietur marmota monax si marmota monax materiam possit
materiari?


> -----Original Message-----
> From: Oliver Wulff [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 25, 2003 9:15 AM
> To: [EMAIL PROTECTED]
> Subject: Tiles, fixed height, scrollbar
>
>
>
>
>
>
> Hi all
>
> Currently, I'm using frames to split my web page. Some frames have a
> dynamic content with a scrollbar to scroll through the content of the
> frame.
>
> Can I achieve the same with tiles? Can I fix the height of a
> tile? If there
> is more data to display will a scrollbar be shown?
>
> Regards
> Oliver Wulff






******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Tiles, fixed height, scrollbar

Posted by Christian Bollmeyer <ja...@christianbollmeyer.de>.
Cool! Didn't know that. Thanks a lot :-)

-- Chris.

----- Original Message ----- 
From: "Skip Morehead" <sm...@m7.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Tuesday, December 09, 2003 10:29 PM
Subject: Re: Tiles, fixed height, scrollbar


> If you put a div in your tile you can force the div to scroll with
> 
> <div ... style="overflow:auto; ... />
> 

-- CLIP!
 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Tiles, fixed height, scrollbar

Posted by Skip Morehead <sm...@m7.com>.
If you put a div in your tile you can force the div to scroll with

<div ... style="overflow:auto; ... />



Christian Bollmeyer wrote:

>Am Montag, 8. Dezember 2003 22:23 schrieb Oliver Wulff:
>
>You can specify a minimum height for tables as well, but
>AFAIK that's basically all you can do - specifying minimum 
>dimensions. As soon as the contents doesn't fit, things
>get stretched automatically. I don't know of any means
>to forbid that, but I'm no HTML designer. One thing I
>recall is that there are min-width and max-width
>attributes in CSS 2.0 (look up SelfHTML for the
>details), but none of the common browsers
>support these anyway. Furthermore, the only
>elements that may have scrollbars attached if
>necessary are textarea and iframe. The latter
>is what we use in situations like yours. 
>
>HTH,
>-- Chris
>
>NB.: Considering the Java Studio Creator question:
>well, I applied for the preview release, but it doesn't
>fit my needs, as Sun told me in a politely set,
>computer-generated reply without giving further
>details. Just wonder why - I had specified that
>we are less than 100 developers, with Java as
>our main language, doing WebServices/EJB,
>HTML clients plus the first option, i.e. everything
>except Swing and that I'm a member of the 'staff'
>(CEO, CTO, 'staff', should have warned me)
>among whose tasks is evaluating development
>tools. Well then, if Sun tells me it doesn't fit my
>needs, I have no reason to disbelieve them, so
>I won't bother about it anymore until the final
>release is out.
>
>  
>
>>Do you have a small example?
>>I tried it in this way <div height="200"> but it didn't work. Should
>>a scrollbar be shown?
>>
>>I also tried the following <div class="list"> and the definition in
>>the css file
>>div.list {
>>height: 100px;
>>}
>>But it doesn't work either.
>>
>>Oliver
>>
>>*********************************************************************
>>*****
>>
>>I use divs to create a tabbed interface, with a tile per tab for the
>>content.  The divs can have a fixed height.
>>
>>--
>>Voytek Jarnot
>>Quantum materiae materietur marmota monax si marmota monax materiam
>>possit materiari?
>>
>>    
>>
>>>-----Original Message-----
>>>From: Oliver Wulff [mailto:[EMAIL PROTECTED]
>>>Sent: Tuesday, November 25, 2003 9:15 AM
>>>To: [EMAIL PROTECTED]
>>>Subject: Tiles, fixed height, scrollbar
>>>
>>>
>>>
>>>
>>>
>>>
>>>Hi all
>>>
>>>Currently, I'm using frames to split my web page. Some frames have
>>>a dynamic content with a scrollbar to scroll through the content of
>>>the frame.
>>>
>>>Can I achieve the same with tiles? Can I fix the height of a
>>>tile? If there
>>>is more data to display will a scrollbar be shown?
>>>
>>>Regards
>>>Oliver Wulff
>>>      
>>>
>>******************* BITTE BEACHTEN *******************
>>Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
>>möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
>>Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
>>genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
>>irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
>>Ausschluss jeder Reproduktion zu zerstören und die absendende Person
>>umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>  
>

Regards,
Skip



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Tiles, fixed height, scrollbar

Posted by Christian Bollmeyer <ja...@christianbollmeyer.de>.
Am Montag, 8. Dezember 2003 22:23 schrieb Oliver Wulff:

You can specify a minimum height for tables as well, but
AFAIK that's basically all you can do - specifying minimum 
dimensions. As soon as the contents doesn't fit, things
get stretched automatically. I don't know of any means
to forbid that, but I'm no HTML designer. One thing I
recall is that there are min-width and max-width
attributes in CSS 2.0 (look up SelfHTML for the
details), but none of the common browsers
support these anyway. Furthermore, the only
elements that may have scrollbars attached if
necessary are textarea and iframe. The latter
is what we use in situations like yours. 

HTH,
-- Chris

NB.: Considering the Java Studio Creator question:
well, I applied for the preview release, but it doesn't
fit my needs, as Sun told me in a politely set,
computer-generated reply without giving further
details. Just wonder why - I had specified that
we are less than 100 developers, with Java as
our main language, doing WebServices/EJB,
HTML clients plus the first option, i.e. everything
except Swing and that I'm a member of the 'staff'
(CEO, CTO, 'staff', should have warned me)
among whose tasks is evaluating development
tools. Well then, if Sun tells me it doesn't fit my
needs, I have no reason to disbelieve them, so
I won't bother about it anymore until the final
release is out.

> Do you have a small example?
> I tried it in this way <div height="200"> but it didn't work. Should
> a scrollbar be shown?
>
> I also tried the following <div class="list"> and the definition in
> the css file
> div.list {
> height: 100px;
> }
> But it doesn't work either.
>
> Oliver
>
> *********************************************************************
>*****
>
> I use divs to create a tabbed interface, with a tile per tab for the
> content.  The divs can have a fixed height.
>
> --
> Voytek Jarnot
> Quantum materiae materietur marmota monax si marmota monax materiam
> possit materiari?
>
> > -----Original Message-----
> > From: Oliver Wulff [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, November 25, 2003 9:15 AM
> > To: [EMAIL PROTECTED]
> > Subject: Tiles, fixed height, scrollbar
> >
> >
> >
> >
> >
> >
> > Hi all
> >
> > Currently, I'm using frames to split my web page. Some frames have
> > a dynamic content with a scrollbar to scroll through the content of
> > the frame.
> >
> > Can I achieve the same with tiles? Can I fix the height of a
> > tile? If there
> > is more data to display will a scrollbar be shown?
> >
> > Regards
> > Oliver Wulff
>
> ******************* BITTE BEACHTEN *******************
> Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
> möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
> Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
> genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
> irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
> Ausschluss jeder Reproduktion zu zerstören und die absendende Person
> umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org