Can anyone tell me why my CSS style sheet isn't styling my xhtml (using xforms)? I'm using firefox 1.5.0.8 with the xforms extension.
Here is the xhtml, it's only a single text area for input.
And here's the style sheet.
as it is, the textarea formats to the appropriate size, but if I try to do xf|textarea, I lose the style and get the small default size.
also, the borders don't work no matter what I do. All else seems ok.
Here is the xhtml, it's only a single text area for input.
Code:
<?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>
Code:
@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.
Comment