The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> favicon ie7, favicon does not work in ie 7
joshgood
post Jun 3 2008, 10:16 PM
Post #1





Group: Members
Posts: 2
Joined: 3-June 08
Member No.: 5,818



i have not yet uploaded this any of my websites because i cannot get the favicon to display in ie7 i'm gonna give you my code i've tried several different ways to get this to work when i preview it in ie7 but it refuses to display i've been fighting with this for some time i'm new at this so please be detailed in responses. Is it possible it refuses to work because i haven't uploaded it to a server nothing really seems to work Please help the icon has been correctly converted to an ico file using a program and when i validate the ico it works and is saved in 16 x 16 pixels only.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>Page title</title>

<link rel= "Shortcut Icon" href= "C:/Users/josh/Desktop/New%20Folder%20(2)/favicon.ico%20"
type="image/x-icon" />

<link rel= "icon" href= "C:/Users/josh/Desktop/New%20Folder%20(2)/favicon.ico%20"
type="image/x-icon" />

</head>
<body>



</body>
</html>

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jun 4 2008, 12:40 AM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



IIRC, MSIE only shows the favicon after you bookmark the site.

However, no one but you will have access to C:/Users/josh/Desktop/... on your filesystem.

And your doctype declaration throws browsers into quirks mode. Besides, HTML 4.0 was superseded by HTML 4.01 almost immediately, and surely new documents can transition to HTML 4.01 Strict by now...
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Jun 4 2008, 01:31 AM
Post #3


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



QUOTE
And your doctype declaration throws browsers into quirks mode. Besides, HTML 4.0 was superseded by HTML 4.01 almost immediately, and surely new documents can transition to HTML 4.01 Strict by now...


What is the empirically detectable advantage in using "Strict"? I thought the main difference was that an odd collection of functions (like using target??) were no longer available?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jun 4 2008, 06:15 AM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



What Darin said...

QUOTE(Darin McGrew @ Jun 4 2008, 07:40 AM) *

And your doctype declaration throws browsers into quirks mode.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jun 4 2008, 10:35 AM
Post #5


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



QUOTE
What is the empirically detectable advantage in using "Strict"? I thought the main difference was that an odd collection of functions (like using target??) were no longer available?
Actually, the target attribute (specifically, <base target="_top">) is the only thing from Transitional that I've added to my custom DTD.

If you're using frames, then you need target and you need Transitional. But otherwise, Strict+CSS is a better approach.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 10:02 PM