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 645 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 2 of 3 < 1 2 3 >
    Thread tools Search this thread Display Modes  
02-28-2007, 01:02 PM
#11
allaire is offline allaire
allaire's Avatar
Status: Member
Join date: Nov 2006
Location: Quebec, Canada
Expertise:
Software:
 
Posts: 239
iTrader: 1 / 100%
 

allaire is on a distinguished road

Send a message via AIM to allaire Send a message via MSN to allaire

  Old

was not working for me also when I needed that IE 6 conditional comment
but this one good:
HTML Code:
	<!--[if IE]>
	<link rel="stylesheet" href="ie.css" type="text/css" media="all" />
	<![endif]-->
so, if you only want apply something to IE 6, just use the litle IE6 hacks in your ie.css file.

HTML Code:
* html #myID{};
The best way I've found...

02-28-2007, 02:48 PM
#12
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:
<!--[if IE]>
	<link rel="stylesheet" href="ie.css" type="text/css" media="all" />
	<![endif]-->
Still didn't work, maybe it's because i'm at college, i'll try when i get home but this is strange.

02-28-2007, 03:58 PM
#13
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

Right it's not reading the code for some reason. I added the title into it and the title didn't show.

So something is making it skip/not read the code

02-28-2007, 04:39 PM
#14
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

Post your entire code.

02-28-2007, 05:09 PM
#15
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" href="ie6-style.css" type="text/css" media="all" />
<![endif]-->
</head>

<body>

<div id="wrapper">

<div id="arrow"></div>

<div id="navigation">
	<ul>
		<li><a href="http://wonderboy.mythicx.com/ezupload" class="link" 

id="links"><div class="links"><strong>Home</strong></div></a></li>
		<li><a href="http://wonderboy.mythicx.com/ezupload/tc.html" 

class="link"><div class="links"><strong>T &amp; C</strong></div></a></li>
		<li><a href="http://wonderboy.mythicx.com/ezupload/contact.html" 

class="link"><div class="links"><strong>Contact</strong></div></a></li>
	</ul>
</div>

<div id="round">

<div id="background">



<div id="text">
<h5>Welcome to EZ Upload</h5>
To upload you image simply press the "Browse" button and search the image on you're 

computer. Then click "Ok" and hit the "upload" button. Wait a few minutes and copy and paste 

the required links.
</div>

<div id="image-bg">
<div id="image">


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 

codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,

0,0" width="250" height="150" id="portfolio-ad" align="middle" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="portfolio-ad.swf" /><param name="loop" value="false" /><param 

name="quality" value="high" /><param name="bgcolor" value="#333333" /><embed 

src="images/portfolio-ad.swf" loop="false" quality="high" bgcolor="#333333" width="250" 

height="150" name="portfolio-ad" align="middle" allowScriptAccess="sameDomain" 

type="application/x-shockwave-flash" 

pluginspage="http://www.macromedia.com/go/getflashplayer" />

</div>
</div>

<div id="input">
<form enctype="multipart/form-data"  action="loaded2.php" method="post">
<input type="file" id="userfile" name="userfile" />
<input type="submit" id="upload" value="upload" />
</form>
<br />
<strong>Image formats:</strong> JPG, JPEG, GIF, PNG
</div>


</div>
</div>


</div>


<div id="centergoogle">
<div id="googleadd-bg">
<div id="google">
<script type="text/javascript"><!--
google_ad_client = "pub-7118091040587092";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</div>
</div>

</body>
</html>

02-28-2007, 05:16 PM
#16
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

Ok i'm getting somewhere, the form wasn't working in IE becasuse of the flash movie wasn't loading properly in IE. Although it worked fine in FF

02-28-2007, 07:57 PM
#17
Garrett is offline Garrett
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
 
Posts: 2,694
iTrader: 11 / 100%
 

Garrett is on a distinguished road

Send a message via MSN to Garrett

  Old

Originally Posted by Wonderboy View Post
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" href="ie6-style.css" type="text/css" media="all" />
<![endif]-->
</head>

<body>

<div id="wrapper">

<div id="arrow"></div>

<div id="navigation">
	<ul>
		<li><a href="http://wonderboy.mythicx.com/ezupload" class="link" 

id="links"><div class="links"><strong>Home</strong></div></a></li>
		<li><a href="http://wonderboy.mythicx.com/ezupload/tc.html" 

class="link"><div class="links"><strong>T &amp; C</strong></div></a></li>
		<li><a href="http://wonderboy.mythicx.com/ezupload/contact.html" 

class="link"><div class="links"><strong>Contact</strong></div></a></li>
	</ul>
</div>

<div id="round">

<div id="background">



<div id="text">
<h5>Welcome to EZ Upload</h5>
To upload you image simply press the "Browse" button and search the image on you're 

computer. Then click "Ok" and hit the "upload" button. Wait a few minutes and copy and paste 

the required links.
</div>

<div id="image-bg">
<div id="image">


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 

codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,

0,0" width="250" height="150" id="portfolio-ad" align="middle" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="portfolio-ad.swf" /><param name="loop" value="false" /><param 

name="quality" value="high" /><param name="bgcolor" value="#333333" /><embed 

src="images/portfolio-ad.swf" loop="false" quality="high" bgcolor="#333333" width="250" 

height="150" name="portfolio-ad" align="middle" allowScriptAccess="sameDomain" 

type="application/x-shockwave-flash" 

pluginspage="http://www.macromedia.com/go/getflashplayer" />

</div>
</div>

<div id="input">
<form enctype="multipart/form-data"  action="loaded2.php" method="post">
<input type="file" id="userfile" name="userfile" />
<input type="submit" id="upload" value="upload" />
</form>
<br />
<strong>Image formats:</strong> JPG, JPEG, GIF, PNG
</div>


</div>
</div>


</div>


<div id="centergoogle">
<div id="googleadd-bg">
<div id="google">
<script type="text/javascript"><!--
google_ad_client = "pub-7118091040587092";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</div>
</div>

</body>
</html>
Again, you still don't have it as "IE 6"

02-28-2007, 08:06 PM
#18
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

Try moving the IE conditional statement above your external css file or put it just after the META tags.

02-28-2007, 08:20 PM
#19
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 tried both, no luck. I don't know why this is happening!
When i change the default style to "ie6-style.css" it works fine in IE, but when i put it in the conditional statement it doesn't work.

02-28-2007, 09:49 PM
#20
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 someone can give me a good reason to why it's not reading the stylesheet properly that would be great, i really want this website complete but i can't fully launch it untill i can get it working in Internet Explorer.

Closed Thread  
Page 2 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