Quote:
|
Originally Posted by Pete-KT
is there a way in an html to tell if the user is using ie or FF and if its FF to use a differnt part of code instead of using the code for ie?
|
In pure HTML?
Nope. You'll have to rely on JavaScript, etc. for the detection and it can update the tags parameters (visible/not visible).
eg. (in sort of a mashed pseudo-code)
<script>
IF browser = IE then one.visibility="visible"
ELSE two.visibility="visible"
</script>
<DIV ID="one" STYLE="visibility: hidden">
IE stuff here
</DIV>
<DIV ID="two" STYLE="visibility: hidden">
FF stuff here
</DIV>
I'd look up the exact elements/parameters but this is the basic idea, I did something like this a LONG time ago and it should still be viable.