Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Conditional Comments in IE8 Emulating IE7
Old 05-29-2008, 06:35 PM Conditional Comments in IE8 Emulating IE7
vkw91's Avatar
Ultra Talker

Latest Blog Post:
Good Web Design Guide - part 1
Posts: 314
Name: Vicky
Location: Wales
Trades: 0
Just a quick question,

Does the conditional comments not work in the new IE8, even when you emulate IE7?

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

I can't get it to work whatsoever, i've even tried <!--[if IE 8]>
__________________
Blog (new):
Please login or register to view this content. Registration is FREE

Portfolio:
Please login or register to view this content. Registration is FREE

Techno Pup:
Please login or register to view this content. Registration is FREE

vkw91 is offline
Reply With Quote
View Public Profile Visit vkw91's homepage!
 
 
Register now for full access!
Old 05-29-2008, 07:23 PM Re: Conditional Comments in IE8 Emulating IE7
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
One thing I've noticed on my machine is that even if you have several versions of IE installed they all identify themselves as the same version. I think it's how things are recorded in the registry.

For example I have IE7 and IE6 installed. When I view something in IE6 the browser does respond like iE6, but it requires <!--[if IE7]> in order for the conditional to work.

Check to see how your IE is identifying itself. Just look under Help => About in the menu. My guess is both browsers are identifying themselves as the same version.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-30-2008, 12:04 PM Re: Conditional Comments in IE8 Emulating IE7
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
IE8 is still in BETA, so I don't see the point here. It's also stated that when IE 8 is finally released, it will be standards compliant, eliminating the need for conditional comments (at least we HOPE so!) to 'correct' IE's historical bad behavior.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-30-2008, 12:55 PM Re: Conditional Comments in IE8 Emulating IE7
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
@vangogh: You can remove the registry key that identifies the browser version, and then the standalone browsers will revert to internal methods to identify what it is. Here is a tutorial that I used once upon a time: http://www.positioniseverything.net/...s/multiIE.html

I have found, however, that having multiple IE browsers on one computer is unreliable, at best, and I now test on two computers.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 05-30-2008, 07:52 PM Re: Conditional Comments in IE8 Emulating IE7
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Thanks Abel. I figured IE was getting the info from the registry, but wasn't sure if it was something to mess with. The tutorial is bookmarked for the weekend.

I agree testing on multiple computers is best, but not it's not likely until I shell out for another computer. How unreliable to you find having multiple IEs is? What kind of things fail to work?
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-30-2008, 08:45 PM Re: Conditional Comments in IE8 Emulating IE7
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Well, I found that the second browser (mine was a hacked version of IE6) was fragile when there was a complex site, causing it to break down in a way that didn't make sense. Although this only happened twice to me, it confused me a lot when I was trying to debug for IE6. I'm not sure what the problem was, but when it happened again I deleted the standalone and converted my laptop to an IE6 computer.

There is also a special .dll file that has to be added to the standalone folder to allow the application to react to cookies. I needed cookie functionality because I was working on a user-login based web application at the time, which relied on cookies. Maybe the .dll file made it unstable, it's hard for me to say because I don't know much about that.

It definitely was very handy for a while. I could go into any coffee shop with only a laptop and do all of my testing without using browsershot websites, which are all pretty slow it seems anyway.

I do all of my work from home now, so having two computers is normal for me. Like anything, when something is a hack it doesn't always perform as well, but sometimes it can be handy.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 05-30-2008, 09:16 PM Re: Conditional Comments in IE8 Emulating IE7
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Thanks for the info. I like having multiple browsers on the one computer. I mostly work from home, but it's just easier having everything on one machine.

I hadn't realized that about needing the .dll file to react to cookies. I guess it's something to look into. It probably won't be an issue for me, but good to know about nonetheless.

Eventually I'm hoping to have a few more computers around of various shapes, sizes, and OSs.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Conditional Comments in IE8 Emulating IE7
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.43524 seconds with 12 queries