I'm using bootstrap and opa to display a textarea, and I don't manage to span my textarea over all the screen width.
I'm using the following simple code :
import stdlib.themes.bootstrap;
import stdlib.widgets.bootstrap;
WB = WBootstrap;
textInput = <textarea style="width=30%" rows=30> This is a text area </textarea>
text2Input = <textarea style="width=100%" rows=1> another textarea </textarea>
content = WB.Grid.row([{span:4, offset:none, content: text2Input}]) <+>
WB.Grid.row([{span:16, offset:none, content: textInput}])
Server.start(
Server.http,
[
{page: function() {content}, title: "test" }
]
)
I also try to use the following css :
textarea
{
border:1px solid #999999;
width:10%;
margin:5px 0;
padding:3px;
}
But it doesn't work either.
It seems that WBoostrap override all my change. The "width:100%" style doesn't appear in the xhtml generated by opa.
What is the correct way for doing that ?
Thanks