aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Setting height of a maximized portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Setting height of a maximized portlet" Watch "Setting height of a maximized portlet" New topic

Setting height of a maximized portlet

Anshul Chandra Saxena

Joined: Sep 10, 2009
Posts: 14

I have a book page with two portlets on it, in a single column. Each portlet takes up 400 px, and the whole page is 800px in width. The user is allowed to maximize either portlet.

When I click the Maximize button on a portlet, the page is redrawn with only that portlet showing. The portlet's height expands to fill the entire page, but the portlet's width is still constrained to 400 px. I would like the portlet to be smart enough to manage its own width, just like it does with the height.

Can anyone please suggest how i can achieve this through CSS ?

Your prompt reply is highly appreciated.

I agree. Here's the link:
subject: Setting height of a maximized portlet
Similar Threads
URL rewrite in webclipping portlet
How to create links and access different portlets within the same war file
How to resize the pop-up window in IE-8 ?
populating the parent combo box
Need help in ball breaker game