cancel
Showing results for 
Search instead for 
Did you mean: 

how to define the height and width of the container in custom page layout

former_member572327
Participant
0 Kudos

Dear All,

I need some input to develeop the custom page layout.

I have created the new 3 column layout.I want to define the height and width of the container.When i excute the layout(without iviews) it looks fine.But it ignores the height and widht when the iview added to the layout.

I tried reducing the iview height as well.but its still not working.

below is my code

<tr id="p-carow1" valign="top" style="height:1px;">

<td width="0"><img src="http.xx" width="0" height="1px" /></td>

<td width="220"></td>

<td width="0"><img src="http.xx" width="0" height="1px" /></td>

<td width="496"></td>

<td width="0"><img src="http.xx" width="0" height="1px" /></td>

<td width="220" height="1px" ><div ><lyt:container id="column1" /> </div></td>

<td width="0"><img src="http.xx" width="0" height="1px" /></td>

</tr>

<tr id="p-carow2" valign="top">

<td width="0">&nbsp;</td>

<td width="220" id="p-column1"><div><lyt:container id="column2" /></div></td>

<td width="0">&nbsp;</td>

<td width="496" id="p-column2" ><div><lyt:container id="column3" /></div></td>

<td width="0">&nbsp;</td>

<td width="220" id="p-column3" ><div><lyt:container id="column4" /></div></td>

<td width="0">&nbsp;</td>

</tr>

Pls anyone suggest the solution for this

regards

Nithya

Accepted Solutions (1)

Accepted Solutions (1)

former_member182598
Active Contributor
0 Kudos

Hi Nithya,

You said you are creating three column layout but I see four columns declared. Also I am failing to understand unnecessary use of <td> everyewhere. Can you please be precise what exactly you are trying to achieve. The requirement for a fixed height container is a bit confusing because you acn achieve the same result by using height type propery of the iView and setting the desired height. Also refer to

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6f959c90-0201-0010-d384-82f014cca...

Thanks

Prashant

Answers (1)

Answers (1)

former_member572327
Participant
0 Kudos

I have solved this issue by overriding the sap standard design classes

Former Member
0 Kudos

This should have been the last possible option available on the planet earth.