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 Android Security Essentials Live Lessons this week in the Android 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: http://aspose.com/file-tools
subject: Setting height of a maximized portlet
Similar Threads
How to create links and access different portlets within the same war file
URL rewrite in webclipping portlet
populating the parent combo box
How to resize the pop-up window in IE-8 ?
Need help in ball breaker game