Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a custom layout

Status
Not open for further replies.

TheObserver

Programmer
Mar 26, 2002
91
0
0
US
Hello. I am trying to create a custom layout. The format I'm going for is three rows, with the top and bottom row being comprised of three columns each. IE:

-------------
| X | X | X |
-------------
| X |
-------------
| X | X | X |
-------------

I have written a corresponding .html.txt file for my intended layout and it looks correct. However, the actual layout file's end results looks like a horizontal flow layout with line wrapping after every third column. IE:


---------------------
| X | X | X |
---------------------
| X | X | X |
---------------------
| X |
-------------


The code I have created is as follows. Thanks for your time and assistance.

<?xml version="1.0" encoding="UTF-8"?>
<netuix:markupDefinition xmlns:netuix=" xmlns:xsi=" xsi:schemaLocation=" markup-netuix-1_0_0.xsd">
<netuix:locale language="en"/>
<netuix:markup>
<netuix:borderLayout columns="3"
title="Seven Layout" description="This layout has seven positions." rows="3"
htmlLayoutUri="/framework/markup/layout/seven.html.txt" layoutStrategy="title"
markupType="Layout" markupName="seven">


<!--// Row One //-->
<netuix:placeholder title="west" description="The left column in the first row."
width="33%" flow="horizontal" usingFlow="true"
markupType="Placeholder" markupName="rowOneColumn_left">
</netuix:placeholder>





<netuix:placeholder title="center" description="The middle column in the first row."
width="34%" flow="horizontal" usingFlow="true"
markupType="Placeholder" markupName="rowOneColumn_center">
</netuix:placeholder>
<netuix:placeholder title="east" description="The right column in the first row."
width="33%" flow="horizontal" usingFlow="true"
markupType="Placeholder" markupName="rowOneColumn_right">
</netuix:placeholder>


<!--// Row Two //-->
<netuix:placeholder title="center" description="The only column in the second row."
width="100%" flow="horizontal" usingFlow="true"
markupType="Placeholder" markupName="rowTwoColumn_single">
</netuix:placeholder>


<!--// Row Three //-->
<netuix:placeholder title="west" description="The left column in the third row."
width="33%" flow="horizontal"
markupType="Placeholder" markupName="rowThreeColumn_left">
</netuix:placeholder>
<netuix:placeholder title="center" description="The middle column in the third row."
width="34%" flow="horizontal"
markupType="Placeholder" markupName="rowThreeColumn_center">
</netuix:placeholder>
<netuix:placeholder title="east" description="The right column in the third row."
width="33%" flow="horizontal" usingFlow="true"
markupType="Placeholder" markupName="rowThreeColumn_right">
</netuix:placeholder>
</netuix:borderLayout>

</netuix:markup>
</netuix:markupDefinition>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top