But, did you ever think about setting portlet size on Runtime?
Here i tell you how you can set your portlet size on Runtime with these steps...
Here you go....
1) Open UnlayeredContainer-H.jsp, located under
Here i am making changes to IBM skin.
2) Add an id for the first table element on this file.
for example:- <table id="neerajtableid" class="layoutRow" cellpadding="0" cellspacing="0">
3) Save the file.
4) In your portlet JSP, get the table element with the ID and get the rows and cell of portlet and set the width.
For me, i have kept two portlets on pages and page property is set to two columns container.
Java script code to be written on your portlet jsp's.
var tableElement = document.getElementById("neerajtableid");
tableElement.rows.cells.width = "37%";
Here, rows.cell shows portlet placed on first row second column, which is horizontally second portlet.