Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1146 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

<!--[if IE 6]>

Thread title: <!--[if IE 6]>
Closed Thread  
Page 1 of 3 1 2 3 >
    Thread tools Search this thread Display Modes  
02-27-2007, 10:27 PM
#1
Steven Fergus is offline Steven Fergus
Status: Hey, I'm Steven
Join date: Feb 2007
Location:
Expertise:
Software:
 
Posts: 1,212
iTrader: 3 / 100%
 

Steven Fergus is on a distinguished road

  Old  <!--[if IE 6]>

Hi there,

Just coded http://www.wonderboy.mythicx.com/ezupload/ for IE 6 there as it was a little messed up, but for some reason it's not reading this code:

<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="ie6-style.css" />
<![endif]-->

So it's not loading the ie style sheet when you're viewing it in Internet Explorer, so you're still seeing it messed up.

Does anyone have any ideas why it might not be reading it ?

Also, the flash advertisement isn't working properly in IE for some reason. Some of the code i used for inserting the flash is invalid as well, does anyone know anyother ways of inserting the flash add ?


Thanks.

02-28-2007, 12:04 AM
#2
daz is offline daz
Status: I love this place
Join date: Jun 2005
Location: UK
Expertise:
Software:
 
Posts: 562
iTrader: 5 / 100%
 

daz is on a distinguished road

Send a message via MSN to daz

  Old

No space.

Code:
<!--[if IE6]>
<link rel="stylesheet" type="text/css" href="ie6-style.css" />
<![endif]-->

02-28-2007, 12:20 AM
#3
Steven Fergus is offline Steven Fergus
Status: Hey, I'm Steven
Join date: Feb 2007
Location:
Expertise:
Software:
 
Posts: 1,212
iTrader: 3 / 100%
 

Steven Fergus is on a distinguished road

  Old

Ah, thank you Silly mistake

02-28-2007, 12:34 AM
#4
Steven Fergus is offline Steven Fergus
Status: Hey, I'm Steven
Join date: Feb 2007
Location:
Expertise:
Software:
 
Posts: 1,212
iTrader: 3 / 100%
 

Steven Fergus is on a distinguished road

  Old

That made no difference.

IF i type:

<link rel="stylesheet" type="text/css" href="style.css" />
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="ie6-style.css" />
<![endif]-->

then it doesn't load the stylesheet properly for some reason, if i just put:

<link rel="stylesheet" type="text/css" href="ie6-style.css" />

It works in IE, strange.

02-28-2007, 12:53 AM
#5
Garyrae is offline Garyrae
Status: Request a custom title
Join date: Dec 2005
Location: Colchester, UK
Expertise:
Software:
 
Posts: 4,625
iTrader: 16 / 100%
 

Garyrae is on a distinguished road

Send a message via MSN to Garyrae Send a message via Skype™ to Garyrae

  Old

Originally Posted by Wonderboy View Post
That made no difference.

IF i type:

<link rel="stylesheet" type="text/css" href="style.css" />
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="ie6-style.css" />
<![endif]-->

then it doesn't load the stylesheet properly for some reason, if i just put:

<link rel="stylesheet" type="text/css" href="ie6-style.css" />

It works in IE, strange.
But it will also work in other browsers too then...

02-28-2007, 01:02 AM
#6
Steven Fergus is offline Steven Fergus
Status: Hey, I'm Steven
Join date: Feb 2007
Location:
Expertise:
Software:
 
Posts: 1,212
iTrader: 3 / 100%
 

Steven Fergus is on a distinguished road

  Old

I know, basically for some reason it's ignoring the IE tag

02-28-2007, 04:14 AM
#7
Julian is offline Julian
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
 
Posts: 5,572
iTrader: 0 / 0%
 

Julian is on a distinguished road

  Old

Don't have a space between IE and 6, have it like this <!--[if IE6]>

02-28-2007, 10:21 AM
#8
Steven Fergus is offline Steven Fergus
Status: Hey, I'm Steven
Join date: Feb 2007
Location:
Expertise:
Software:
 
Posts: 1,212
iTrader: 3 / 100%
 

Steven Fergus is on a distinguished road

  Old

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; ch****t=iso-8859-1" />
<title>EZ Upload</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<!--[if IE6]>
<link rel="stylesheet" type="text/css" href="ie6-style.css" />
<![endif]-->

</head>
This is so frustrating! It's still not working, i don't understand, everything is correct.

02-28-2007, 11:57 AM
#9
Steven Fergus is offline Steven Fergus
Status: Hey, I'm Steven
Join date: Feb 2007
Location:
Expertise:
Software:
 
Posts: 1,212
iTrader: 3 / 100%
 

Steven Fergus is on a distinguished road

  Old

For some reason IE6 is not reading this code either:

Code:
<form enctype="multipart/form-data"  action="loaded2.php" method="post">
<input type="file" name="userfile" />
<input type="submit" value="upload" />
</form>
Strange...

02-28-2007, 12:50 PM
#10
RaZoR^ is offline RaZoR^
RaZoR^'s Avatar
Status: Member
Join date: Feb 2006
Location:
Expertise:
Software:
 
Posts: 191
iTrader: 1 / 100%
 

RaZoR^ is on a distinguished road

  Old

Code:
<input type=file" id="userfile" name="userfile" />
Always best to name it by an identifier as well, especially in XHTML. Some browsers accept name, some accept id, some accept both, but XHTML makes it a little more strict in some browsers

The code you are using for Internet Explorer's conditional statements is fine. To any other browser it looks like a comment, but to Internet Explorer it checks the version. I'm not sure why it's not working, but check the CSS file exists possibly? I can test it when I get home, but if you just Google "HTML conditional statements", take an MSDN page and it should show you how to do > and < versions. So you wat IE < 7, but there's a proper way of doing it.

Closed Thread  
Page 1 of 3 1 2 3 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed