This is a discussion on "Table Problem?" within the Web Page Design section. This forum, and the thread "Table Problem? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Table Problem?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Table Problem?
If i have a internal table inside another table, and the internal table contains an invalid table(example: no closing tr tag, etc), this will affect all table layout. So how can i preserve the table layout that the "invalid inner table" will not affect other table setting? For example:
|
|
|
|
#2
|
|||
|
|||
|
Re: Table Problem?
Why would you want an invalid table?
|
|
#3
|
||||
|
||||
|
Re: Table Problem?
Why not just close the TR tags and go into the second table, unless you want to nest a table in a table in a table. I'm not sure I fully understand what your are trying to implement?
|
|
#4
|
||||
|
||||
|
Re: Table Problem?
I'd fix it all by losing the tables and doing it the right way... have a url, or more source code we can see?
|
|
#5
|
|||
|
|||
|
Re: Table Problem?
Hi all,
Actually i'm doing a page that allow the user to enter his/her message in a text box and then the user's input content will be view in browser. If the user's input not contains any HTML tag, the page is normal in view. Otherwise, the output is unexpected. Below showing two examples which is one consist of normal user input and the output is good in view. Another one example is the user's input consist of invalid HTML tag, so the output screen is unexpected. This example showing that the user input normal text:
|
|
#6
|
||||
|
||||
|
Re: Table Problem?
Why not just dissallow HTML from being entered?
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#7
|
|||
|
|||
|
Re: Table Problem?
How to disallow HTML? I want the user content to be shown.
|
|
#8
|
||||
|
||||
|
Re: Table Problem?
why not replace all instances of "<" in the post with "<" and all instances of ">" in the post with ">"
|
|
#9
|
|||
|
|||
|
Re: Table Problem?
The problem is not of the special characters. Can you imagine that i have 2 pages which 1 is to allow the user to input his/her message title and content, 1 page to show the message title and content in a message board(in HTML form, not in text form). For the maintenance page, let say i have 1 table for title(with textarea inside), 1 table for content(with textarea inside), and 1 table to build OK and Cancel button. When the user clicks on OK button, the message title and content will be inserted into database. Then the maintenance page is closed and return to Message Board page. In the page, all the messages will be shown in HTML format, not in text format. Thus, if the user title/content contains of HTML tag(example, message title: <Font color="#FF0000">First Message</Font>), the word "First Message" will be displayed in red color. So the user can form any HTML code at the maintenance page.
My problem is if the user gives the invalid HTML code for his/her message content, after the page returned from maintenance page to Message Board page, the invalid HTML code of the message content will affect my layout and the web GUI now will be unexpected. So my question is can i differentiate the invalid HTML table from affecting other HTML table? How can i do that? |
![]() |
| Tags |
| table, problem |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Iframe / Table Problem.... help me!!! | bigbluesky2006 | Web Page Design | 4 | Dec 16th, 2006 10:59 |
| Table conversion problem | dartiss | Web Page Design | 9 | Jul 26th, 2006 17:42 |
| Table sizing problem | Jaken Veina | Web Page Design | 1 | Jan 6th, 2006 22:06 |
| CSS and Table problem | lisnalinchy | Web Page Design | 10 | Aug 3rd, 2005 09:54 |
| Expandable Table Problem | legomaniac | Web Page Design | 3 | Jul 15th, 2005 14:16 |