Icon

JustinCase2
03-20-2007, 04:26 AM
Can someone explain to me why the following line does not work with .aspx pages?:

<head><link rel="icon" href=flaicon.ico>
<title>

It is supposed to create a small icon in front of the URL. It works perfectly on plain .html pages, but not in my .net 2.0 project...

wayneph
03-21-2007, 08:30 AM
do you have a DOCTYPE in your file? If so it probably doesn't work because it isn't valid html. Try running your document through a validator.

In just this bit of code you're missing quotes on an attribute, and the closing for your tag.
<link rel="icon" href="flaicon.ico" />

Bad HTML leads to unexpected results. Some browser and some DOCTYPES are just more forgiving than others.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum