Is it possible to create a table inside a text area. or similar such control ?????
No, a http://htmlhelp.com/reference/html40/forms/textarea.html element can contain only plain text.
No. See http://htmlhelp.com/reference/html40/tables/table.html.
Unless you want to show the code of a table in a textarea.
If you want a scrollbar around a table you can use CSS "overflow".
A textarea is meant for entering form data. If you want to enter the form data in table cell format, you might put one textfield or textarea inside each table cell.
Greetings,
I want to place a big html textarea with some options like Bold, Italic, Linespacing, Fontsize, Font color, Insert table just similar to this page. with which user can edit the entered text inside the textarea.
Is this possible ?
regards
Yeah. We've done it.
There are ready-made scripts for that you can use. I don't know what's hot ATM. Here's one, but I don't know if it's a good one.
https://www.sceditor.com/
I think pandy means that you can use "BBCode", which is basically any kind of markup that users can type in a text field. For example, this forum uses
No. I meant that there are ready-made editors (or what they should be called) that you can use with your own forum, blog or page comments or whatever it is you are creating. Like a component you can include in your own code. I'm not totally sure any more that the one I linked to works that way.
BB-code isn't of much use if nothing interprets it. You could write your own, of course, but I got the impression that wasn't on the table. Maybe I'm wrong.
I was think more of the general principle of using (non-HTML) markup, wether you create it yourself or use someone else's.
How do you mean? We can create a table here.
Hmm, it seems we can't. I thought that worked at all forums of this type. It has been around forever. The bbCode is the same as in HTML but with square brackets.
Aha! Haven't seen that before. I can imagine it's easy to make mistakes constructing it though (just like when writing ordinary HTML tables).
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)