Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Validation intellisense: attribute 'background' is considered outdated (also 'align')

$
0
0

Hi People

I get a green squiggly line beneath 'background' with this intellisense message [Validation (XHTML 1.0 Transistional): Attribute 'background' is considered outdated. A newer construction is recommended.]

However, the script seems to work OK on both IE and Chrome browsers. The bitmap image is tiled over the screen as intended.

If someone can suggest a newer construction, I will update my script, but otherwise will leave it as is. See below to see the context.

<body background="SonofMan.bmp" style="text-align: center; font-size: 32px; background-color: #380038;"><form id="form1" runat="server"><div style="text-align: center; font-size: 32px;"><asp:Image ID="Image1" runat="server" ImageUrl="~/Doctrines/Christ Jesus/NatureofChrist.bmp" /><br /><br /><span style="color: #b1a3a3">&nbsp;<asp:LinkButton ID="LinkButton2" runat="server"
            ForeColor="#B1A3A3" PostBackUrl="~/HomeLoveTruth.aspx">theloveofthetruth</asp:LinkButton>&nbsp; &gt;&gt;&nbsp; &nbsp;<asp:LinkButton ID="LinkButton1" runat="server" ForeColor="#B1A3A3"
                PostBackUrl="~/Doctrines/Doctrines.aspx">Doctines</asp:LinkButton>&nbsp;&nbsp; &gt;&gt; &nbsp; The Nature of Christ<br /><br /></span><table align="center"><tr>

Also I get the same green squiggly line and intellisense from 'align'.

Thanks for your consideration.


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>