Is there such a thing as conditional comments for Chrome?
I have a page that renders differently in Chrome when compared to Firefox.
Thanks
This isn't just a Chrome conditional comment - this hits all browser that aren't IE... firefox, safari, etc. If using PHP - try this:
Browsser Detection
';
}
if ($safari) {
echo '';
}
?>
you are not using Internet Explorer
';
}
if ($msie) { // IE?
echo '
you are using Internet Explorer
';
}
?>
Credit to John for posting: http://www.killersites.com/forums/topic/2731/firefox-google-chrome-browser-detecion-using-conditional-comments-hack/