Dear Sven,
also <td height="600"> works fine, and allows to have all pages that are
"shorter" than 600 px to look the same, whereas the others are rendered as
they are.
A percentage is more dynamic but makes appearance change in all pages (80%
of each different height).
Anyway, let the user choose the best one! ;-)
Bye
Stefano

----- Original Message ----- 
From: "Sven Richter" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <jetspeed-user@jakarta.apache.org>
Sent: Friday, April 15, 2005 12:53 AM
Subject: Re: Changing the background color of the portal - Portal page
height


> Dear Stefano,
>
> thanks for the tips. It works for me. But you shouldn't use an exact
> number like 600px (I don't know how you call that in English), but an
> percentage (I used: 80%) to make it work on all screen set-ups.
>
> Thanks a lot,
> Sven.
>
> Am Thu, 14 Apr 2005 14:56:45 +0200 schrieb Stefano Bianchi
> <[EMAIL PROTECTED]>:
>
> > Dear Sven,
> > I work with jsp, so I don't know if my approaches apply also to vm...
> > I have the same problem, but I think it is not so easy to solve unless
> > you
> > make some trick like transparent images e.g. in a new right.vm that set
> > the
> > height of the central part AT LEAST at e.g. 600 px...
> > You could also try to set the height of the table cell that hosts the
> > central part, it should be in default.vm.
> > This seems to work (I just tried it out on the portal I am developing),
> > but
> > obviously the thing you see depends on your screen set up (width,
> > toolbars
> > etc.)
> > Hope you can get some help from my 2 cents!
> > Good luck
> > Stefano
> >
> > ----- Original Message -----
> > From: "Sven Richter" <[EMAIL PROTECTED]>
> > To: "Jetspeed Users List" <jetspeed-user@jakarta.apache.org>
> > Sent: Thursday, April 14, 2005 2:45 PM
> > Subject: Re: Changing the background color of the portal
> >
> >
> >> Dear Stefano,
> >>
> >> thanks for your answer. But trying out your tip showed me that that
> >> wasn't
> >> the problem. Because if you look at the code of the top.vm, you can see
> >> that this value in the default.vm is changed by the value in the
> >> default.css (although when you look at the generated portal-sourcecode
> >> it
> >> still says #ffffff; but if you change the value in the default.css, the
> >> color of the portal also changes). I found out my problem was that I
had
> >> to set the background for the <td>-tags in the default.css to #f5f5f5
> >> (the
> >> whole screen in jetspeed is build with tables). Now it works just fine.
> >>
> >> But I have another question: How/where can I change the percentage of 3
> >> components that build the page (top.vm, left.vm, bottom.vm). How can I
> >> change it in a way, that the bottom.vm is always shown at the bottom of
> >> the screen, even if I only show one portlet (because then it appears
> >> just
> >> below that portlet somewhere in the middle of the screen)?
> >>
> >> Thanks a lot for your help,
> >> Sven.
> >>
> >> Am Thu, 14 Apr 2005 08:33:40 +0200 schrieb Stefano Bianchi
> >> <[EMAIL PROTECTED]>:
> >>
> >> > Dear Sven,
> >> > it depends on which support you use, jsp or vm (vm is default).
> >> > For jsp
> >> >
> > [TOMCAT]\webapps\jetspeed\WEB-INF\templates\jsp\layouts\html\default.jsp
> >> > for vm
> >> >
> > [TOMCAT]\webapps\jetspeed\WEB-INF\templates\vm\layouts\html\default.vm
> >> > You should find there
> >> >     <body bgcolor="#FFFFFF">
> >> > so change it to
> >> >     <body bgcolor="#F5F5F5">
> >> >
> >> > Simple and effective!
> >> >
> >> > Bye
> >> > Stefano
> >> >
> >> > ----- Original Message -----
> >> > From: "Sven Richter" <[EMAIL PROTECTED]>
> >> > To: <jetspeed-user@jakarta.apache.org>
> >> > Sent: Wednesday, April 13, 2005 11:50 PM
> >> > Subject: Changing the background color of the portal
> >> >
> >> >
> >> >> Hello,
> >> >>
> >> >> I'm currently trying to change the background color of my portal
from
> >> >> white (#FFFFFF) to grey (#F5F5F5). I changed the 'default.css' to
the
> >> >> following:
> >> >>
> >> >> "BODY  {font-family: "Arial,Helvetica,sans-serif"; font-size: 9pt;
> >> >> color:
> >> >> #222432; background: #F5F5F5; margin: 0px 0px 0px 0px; padding: 0px
> >> 0px
> >> >> 0px 0px}"
> >> >>
> >> >> But the background color is still white (in the source code it still
> >> >> says
> >> >> <body bgcolor="#FFFFFF"). I already tried all other parameters in
the
> >> >> 'default.css' and 'skin.css' that seemed promissing to me, but
> >> nothing
> >> >> worked.
> >> >>
> >> >> Does anybody know where I have to change that parameter?
> >> >>
> >> >> Thanks a lot,
> >> >> Sven.
> >> >>
> >>
>> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> For additional commands, e-mail:
> >> [EMAIL PROTECTED]
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > For additional commands, e-mail:
[EMAIL PROTECTED]
> >> >
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to