Here is the xhtml, it's only a single text area for input.
Expand|Select|Wrap|Line Numbers
- <?xml version="1.0" ?>
- <html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:xf="http://www.w3.org/2002/xforms">
- <head>
- <link href="zstyle.css" rel="stylesheet"/>
- <title>XForms textarea for essay</title>
- <xf:model>
- <xf:instance xmlns="">
- <essay>Type your essay here.</essay>
- </xf:instance>
- </xf:model>
- </head>
- <body>Type here. <br />
- <xf:textarea ref="/essay">
- <xf:label></xf:label>
- </xf:textarea>
- </body>
- </html>
Expand|Select|Wrap|Line Numbers
- @namespace html url(http://www.w3.org/1999/xhtm);
- @namespace xf url(http://www.w3.org/2002/xforms);
- body
- { margin-left: 2em; margin-right: 2em;
- border-width: 2em; border-color: blue;
- background-color: gray; color: white;
- }
- textarea
- { font-family: sans-serif;
- height: 500px; width: 90%;
- }
also, the borders don't work no matter what I do. All else seems ok.