03-26-07 01:21 PM
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 w
hich i created a table row in the control.jsp just after the <b> portletRend
er </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:12p
x;" background='<portal-logic:urlFindInSkin file="lightgreen_bottom_right.gi
f"/>'> </td>
</tr>
</table>
****************************************
************************************
*
Now the same code worked perfectly in Portal 5.1. But the problem i am facin
g 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 t
he 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 de
bugging to see how the cells are being created, they align perfectly and als
o the centre column (<td> ) get the correct background. I mean it is just per
fect, but with a border.
So please help me out and let me know if there is something that i am missin
g here.
Thanks a lot
[ Post a follow-up to this message ]
|