Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 7th, 2005, 08:50 AM
Authorized User
 
Join Date: Sep 2004
Location: West Midlands, , United Kingdom.
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

Reply With Quote
  #2 (permalink)  
Old February 7th, 2005, 09:31 AM
Friend of Wrox
Points: 1,315, Level: 14
Points: 1,315, Level: 14 Points: 1,315, Level: 14 Points: 1,315, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , .
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<
//\ =^..^=
Reply With Quote
  #3 (permalink)  
Old February 7th, 2005, 09:43 AM
Authorized User
 
Join Date: Sep 2004
Location: West Midlands, , United Kingdom.
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

Reply With Quote
  #4 (permalink)  
Old February 11th, 2005, 04:28 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Chennai, TamilNadu, India.
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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 06:31 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.