问题
I want to create a form in a table like structure like we do in html. following is the basic structure i require![enter image description here][1]
[1]: http://i.stack.imgur.com/H6b3f.png
How to code such a structure?
回答1:
Use the Spark Form components.
Example (shamelessly modified from example on the help page):
<s:Form id="myForm" width="450" height="125">
<s:FormHeading label="My Form Title" />
<s:FormItem label="Name:">
<s:TextInput id="name" />
<s:helpContent>
<s:Label text="Enter your first and last names" />
</s:helpContent>
</s:FormItem>
</s:Form>
回答2:
<div id="header_block"> ...... Header_block Contents </div> <div id="wrapper"> ...... Entire Page </div>
css
#header_block { position:fixed; width:100%; float:left; }
来源:https://stackoverflow.com/questions/13004430/create-a-table-like-structure-in-flex