Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Hiding HTML in a table
February 8, 2006, 5:45 am
rate this thread
some HTML into a WYSIWYG editor.
Basically, I have a two column table
Column 1 has a link which when clicked on gets the HTML from column 2 and
passes it to the editor.
As the application is running on IE I am using the innerHTML property and a
DIV tag to get and store the information respecitvely.
My text is here
and then I pass through the info by going
This works fine, but I want a way of hiding the HTML which is to be passed
through. I tried setting the style of the div tag (visibility:hidden;) and
this does hide the tag but the table cell where the HTML remains the size of
the enclosed HTML (i.e. Really big) even though the HTML is hidden.
Any ideas more than welcome
Re: Hiding HTML in a table
IIRC, there was a similar thread recently in one of the PHP (alt.php?)
groups. I think the solution was display:none on the <tr>. HTH.
Stan McCann, "Uncle Pirate" http://stanmccann.us /
Webmaster, NMSU at Alamogordo http://alamo.nmsu.edu /
Now blocking Google Grouper posts and replies.