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 4th, 2009, 07:51 AM
Authorized User
 
Join Date: Jun 2009
Posts: 30
Thanks: 13
Thanked 0 Times in 0 Posts
Default validation-caption

hi....i am having 3 warnings when using the caption
Error Message:1)Message 1 Validation (XHTML 1.0 Transitional): Attribute 'align' is considered outdated. A newer construct is recommended.

2)Warning 2 Validation (XHTML 1.0 Transitional): Element 'br' cannot be nested within element 'caption'.

Warning 3 Validation (XHTML 1.0 Transitional): Element 'br' cannot be nested within element 'caption'.

<captionalign="left"style="font-weight: bolder">

Enquiries-Post Ads-Register
<br/>
This page is for COMPANIES only.If you are looking for a job,<asp:HyperLinkID="HyperLink1"runat="server">click here</asp:HyperLink>
<br/>
Please fill in your enquiry below.Our Corporate Accounts Team will contact you</caption>

Can anybody solve for me?thank you...
 
Old August 4th, 2009, 08:31 AM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

What are you using to test validation? This looks like perfectly good markup to me.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
 
Old August 4th, 2009, 09:06 AM
Authorized User
 
Join Date: Jun 2009
Posts: 30
Thanks: 13
Thanked 0 Times in 0 Posts
Default

Actually....i didn't try to validate...anything....i just wrote a paragraph of words and i paste it into table of 2 columns....and convert the first row into caption to insert the paragraph of words....i don't understand why i am getting 3 warnings for caption.....it says a newer construct is recommended

Last edited by Banishah; August 4th, 2009 at 09:08 AM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Checkbox Caption brian189 Access VBA 3 May 25th, 2007 07:05 AM
Caption Field Brendan Bartley Access 2 June 2nd, 2006 07:24 AM
using control.caption in Access2000 vance696 Access 2 January 5th, 2006 03:01 PM
caption jlnashrod Access VBA 2 April 5th, 2004 10:48 PM
ToolWindow Caption Kep C# 0 February 24th, 2004 12:59 AM





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