Wrox Programmer Forums
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics 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 August 2nd, 2009, 11:51 PM
Authorized User
 
Join Date: Jun 2009
Posts: 30
Thanks: 13
Thanked 0 Times in 0 Posts
Default Validation

Hi....i am having warning ....the warning sounds like this....
Validation (XHTML 1.0 Transitional): Element 'dd' cannot be nested within element 'dt'.

this is my code.....
<dt class="dt2" id="dt3" onmouseover="showbg(3)" onclick="showsubmenu(3)" onmouseout="showoutbg(3)"><b>Career Service</b>
<dd id="submenu3">
<ul>
<li><a href='/'>Career Articles</a></li>
<li><a href='/'>Job Search Tips</a></li>
<li><a href='/'>Survey</a></li>
<li><a href='/'>FAQ</a></li>
</ul>
</dd>
</dt>

how to solve this warning...?Any idea....?
 
Old August 3rd, 2009, 12:12 AM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Code:
<dl>
<dt class="dt2" id="dt3" onmouseover="showbg(3)" onclick="showsubmenu(3)" onmouseout="showoutbg(3)">
<b>Career Service</b>
</dt>
<dd id="submenu3">
<ul>
<li><a href='/'>Career Articles</a></li>
<li><a href='/'>Job Search Tips</a></li>
<li><a href='/'>Survey</a></li>
<li><a href='/'>FAQ</a></li> 
</ul>
</dd>
</dl>
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
The Following User Says Thank You to Lee Dumond For This Useful Post:
Banishah (August 3rd, 2009)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Standalone validation + web form validation morbo Struts 0 August 19th, 2008 04:02 AM
Validation using Validation Framework kalyangvd Struts 1 January 2nd, 2008 06:53 AM
validation mikedeepak ASP.NET 2.0 Basics 0 May 28th, 2007 03:20 AM
validation dsmportal Pro VB.NET 2002/2003 4 February 10th, 2005 12:26 PM
validation crmpicco Javascript How-To 2 February 4th, 2005 05:10 AM





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