WebSphere Portal Server - Skin Design Problem

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > March 2007 > Skin Design Problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Skin Design Problem

2007-03-26, 8:21 am

Hi to all,

I am facing a real funny problem for the last 2 days to which i yet haven't found a solution. Please help me out.

I am using websphere portal 6.0
I am designing a Portlet Skin in which the footer has a rounded edges. For which i created a table row in the control.jsp just after the <b> portletRender </b> tag.

This is the code that i put:
****************************************
***********************************
<table border="1" cellpadding="0" cellspacing="0" >
<tr>
<td height="13" align="left" style="background-repeat: no-repeat; width:56px;" background='<portal-logic:urlFindInSkin file="lightgreen_bottom_left.gif"/>' > </td>
<td height="13" style="background-repeat: repeat-x; width:auto;" background='<portal-logic:urlFindInSkin file="lightgreen_bottom_center.gif"/>'> </td>
<td height="13" align="right" style="background-repeat: no-repeat; width:12px;" background='<portal-logic:urlFindInSkin file="lightgreen_bottom_right.gif"/>'> </td>
</tr>
</table>
****************************************
*************************************
Now the same code worked perfectly in Portal 5.1. But the problem i am facing here is that if i remove the table border (which is 1 here) i get blank in the center column (<td> ) and also the left and right <td> DO NOT align at the table extremes, that is
left and right.

But if i keep table border as 1 (as in the code here), which i put in for debugging to see how the cells are being created, they align perfectly and also the centre column (<td> ) get the correct background. I mean it is just perfect, but with a border.

So please help me out and let me know if there is something that i am missing here.

Thanks a lot
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com