Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 7th, 2005, 08:50 AM
Authorized User
 
Join Date: Sep 2004
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Nitin_sharma Send a message via Yahoo to Nitin_sharma
Default Div again...

Hi Guys,
I have this code with me and its suppose to make the div tag invisibe but it doesnt do so..

<tr CLASS=TRBlueBg>
<DIV id="sampleDiv" style="visibility: hidden;">
<td align=right>Expiry Date&nbsp;&nbsp;</td>
<td>
<input type="text" disabled name="getexpirydate" size="30" maxlength="100">
<INPUT type="button" CLASS=btnLightBg value="Get Date" name=GetExpiryDate onClick="createCalWindow('frm','getexpirydate');">
<INPUT type="button" CLASS=btnLightBg value="Clear Date" name=ClrDate onClick="fClearDateField('getexpirydate','expiryda te');">
 </td>
 <td></td>
 <td>
 <input type="hidden" name="expirydate" size="30" maxlength="100">
<INPUT type="hidden" name="hidSysDate" id="hidSysDate" value="<%=dateToDD_MM_YYYY(date)%>">
 </td>
<DIV>
</tr>

Any help would be appreciated.
Nick

 
Old February 7th, 2005, 09:31 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

The answer is the same as the other day.
http://p2p.wrox.com/topic.asp?TOPIC_ID=26112

You can't stick arbitrary tags between table elements. If you don't believe me use a validator. Use the style with the TR. Or get rid of the table and just use the DIV.

(o<
//\ =^..^=
 
Old February 7th, 2005, 09:43 AM
Authorized User
 
Join Date: Sep 2004
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Nitin_sharma Send a message via Yahoo to Nitin_sharma
Default

Hi Matey ,
Thanks for your help. I checked I can make the tr invisible but how can I get it visible on click of radio button?
is it possible to do so?
waiting for reply
Nick

 
Old February 11th, 2005, 04:28 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

You have to give ..style.display = 'block' for making it visible






Similar Threads
Thread Thread Starter Forum Replies Last Post
div hiererchy gantait XSLT 4 February 26th, 2007 11:47 PM
Select 'DIV' ?? Frankb52258 SQL Server 2005 3 February 9th, 2007 01:06 PM
div within a div and inherting the height brettdavis4 CSS Cascading Style Sheets 1 January 23rd, 2007 09:59 AM
DIV TAG marclena ASP.NET 1.0 and 1.1 Professional 2 May 24th, 2005 11:14 AM
div DSteven CSS Cascading Style Sheets 2 February 9th, 2005 11:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.