CodeChargenewbie
Posts: 114
|
Posted: 11/28/2007, 8:24 AM |
|
Quote :<div id="id1" style="visibility:hidden">show this
<tr class="Controls">
<th>Color</th>
<td><input maxlength="50" size="25" value="{Color}" name="{Color_Name}"></td>
</tr>
<tr class="Controls">
<th>Height</th>
<td><input maxlength="25" size="25" value="{Height}" name="{Height_Name}"></td>
</tr>
<tr class="Controls">
<th>Weight</th>
<td><input maxlength="50" size="25" value="{Weight}" name="{Weight_Name}"></td>
</tr></div>
I've been looking all over the place to figure out why my page was still displaying the textboxes and everything between the div tags. For whatever reason, "show this" will hide, but the rest of the code is unaffected. Is there a way to hide said code using div and display/visibility or must I specifically add style = "visibility:hidden" to each table row? There must be a way to hide a set of code in one fell swoop.
|
|
|
mamboBROWN
Posts: 1713
|
Posted: 12/06/2007, 7:43 PM |
|
CodeChargenewbie
Are you able to use CCS panels ( http://docs.codecharge.com/studio32/html/ProgrammingTec...l/Overview.html ) for this issue??
|
|
|
DonB
|
Posted: 12/12/2007, 5:14 AM |
|
You can't insert a DIV wthin a table like that. Use a TBODY (or THEAD, or
TFOOT) instead. And put 'show this' into a TR/TD, too. You can't put other
HTML tags inside a table, but outside the TR/TD structure.
--
DonB
http://ccswiki.gotodon.net
"CodeChargenewbie" <CodeChargenewbie@forum.codecharge> wrote in message
news:18474d965785462@news.codecharge.com...
> Quote :<div id="id1" style="visibility:hidden">show this
> <tr class="Controls">
> <th>Color</th>
>
> <td><input maxlength="50" size="25" value="{Color}"
> name="{Color_Name}"></td>
> </tr>
>
> <tr class="Controls">
> <th>Height</th>
>
> <td><input maxlength="25" size="25" value="{Height}"
> name="{Height_Name}"></td>
> </tr>
>
> <tr class="Controls">
> <th>Weight</th>
>
> <td><input maxlength="50" size="25" value="{Weight}"
> name="{Weight_Name}"></td>
> </tr></div>
>
>
>
> I've been looking all over the place to figure out why my page was still
> displaying the textboxes and everything between the div tags. For
whatever
> reason, "show this" will hide, but the rest of the code is unaffected. Is
there
> a way to hide said code using div and display/visibility or must I
specifically
> add style = "visibility:hidden" to each table row? There must be a way to
hide
> a set of code in one fell swoop.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
|