![]() |
![]() ![]() |
![]() |
kingmaruthu |
![]()
Post
#1
|
Group: Members Posts: 3 Joined: 10-January 08 Member No.: 4,683 ![]() |
Is it possible to create a table inside a text area. or similar such control ?????
|
Darin McGrew |
![]()
Post
#2
|
WDG Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Root Admin Posts: 8,317 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 ![]() |
No, a textarea element can contain only plain text.
|
Frederiek |
![]()
Post
#3
|
Programming Fanatic ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 ![]() |
No. See http://htmlhelp.com/reference/html40/tables/table.html.
Unless you want to show the code of a table in a textarea. |
kingmaruthu |
![]()
Post
#4
|
Group: Members Posts: 3 Joined: 10-January 08 Member No.: 4,683 ![]() |
No. See http://htmlhelp.com/reference/html40/tables/table.html. Unless you want to show the code of a table in a textarea. ![]() |
kingmaruthu |
![]()
Post
#5
|
Group: Members Posts: 3 Joined: 10-January 08 Member No.: 4,683 ![]() |
![]() |
Darin McGrew |
![]()
Post
#6
|
WDG Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Root Admin Posts: 8,317 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 ![]() |
QUOTE what r the other means !!! The other means to what end? What are you trying to do? |
Christian J |
![]()
Post
#7
|
. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 8,253 Joined: 10-August 06 Member No.: 7 ![]() |
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. |
shankar from vizag |
![]()
Post
#8
|
Advanced Member ![]() ![]() ![]() ![]() Group: Members Posts: 166 Joined: 18-June 13 Member No.: 19,316 ![]() |
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 |
pandy |
![]()
Post
#9
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 18,450 Joined: 9-August 06 Member No.: 6 ![]() |
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/ |
Christian J |
![]()
Post
#10
|
. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 8,253 Joined: 10-August 06 Member No.: 7 ![]() |
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
CODE [b]text[/b] to mark up bold text. Scripting then changes the BBCode into real HTML/CSS. Just beware of allowing users to type real HTML, like CODE <b>text</b> since it can be used for malicious code injection (unless you only allow a very limited whitelist). |
pandy |
![]()
Post
#11
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 18,450 Joined: 9-August 06 Member No.: 6 ![]() |
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. |
Christian J |
![]()
Post
#12
|
. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 8,253 Joined: 10-August 06 Member No.: 7 ![]() |
I was think more of the general principle of using (non-HTML) markup, wether you create it yourself or use someone else's.
|
Christian J |
![]()
Post
#13
|
. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 8,253 Joined: 10-August 06 Member No.: 7 ![]() |
|
pandy |
![]()
Post
#14
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 18,450 Joined: 9-August 06 Member No.: 6 ![]() |
How do you mean? We can create a table here.
|
Christian J |
![]()
Post
#15
|
. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 8,253 Joined: 10-August 06 Member No.: 7 ![]() |
|
pandy |
![]()
Post
#16
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 18,450 Joined: 9-August 06 Member No.: 6 ![]() |
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.
CODE [table] [tr] [td]This[/td] [td]is[/td] [/tr] [tr] [td]a[/td] [td]table![/td] [/tr] [/table] |
Christian J |
![]()
Post
#17
|
. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 8,253 Joined: 10-August 06 Member No.: 7 ![]() |
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).
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 9th December 2019 - 03:50 AM |