rejetto forum
Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: crazyjust on August 14, 2008, 03:35:32 AM
-
Can someone please tell me how i can get this button to work. It works well with firefox but not with ie7
<div class="agreebutton">
<a href="/Files">
<button style="width:300px;height:30px;
border-top-color:#FFAD5B;
border-left-color:#FFAD5B;
border-right-color:#FFAD5B;
border-bottom-color:#FFAD5B;
background-color:#003F87";><b><FONT SIZE="-1""font color="#FFAD5B">Yes, I Agree To The Above Terms</FONT><b>
</button></a>
thanks in advance
-
I have the correct code, goes well with IE7 + FX3.
<body>
<div class="agreebutton">
<a href="/Files">
<button style="width:300px;height:30px;
border-top-color:#FFAD5B;
border-left-color:#FFAD5B;
border-right-color:#FFAD5B;
border-bottom-color:#FFAD5B;
background-color:#003F87";><b><FONT SIZE="-1""font color=#FFAD5B">Yes, I Agree To The Above Terms</FONT></b>
</button></a></div>
</body>
-
I have the correct code, goes well with IE7 + FX3.
No
... background-color:#003F87;"><b><font size="-1" color="#FFAD5B"> ...
Or better:
<button style=" ... background-color:#003F87; color:#FFAD5B; font-size:0.8em; font-weight:bold;">Yes, I Agree To The Above Terms</button>
-
??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ???
-
he pointed out this part: "font color=#FFAD5B"
quotes included
that is actually invalid, for both html and xhtml
and merely fixed the syntax.
then suggested an alternative way, by using css
-
problem resolved. I used this and it worked. i wasnt letting active x on ie allow it either before.
<INPUT type=button
value="Yes, I Agree To The Above Terms"
style="background-color:#003F87; color:#FFAD5B;"
onMouseOver="this.style.bgColor = '#003F87';"
onMouseOut="this.style.bgColor = '#003F87';"
onClick="self.location='/files/';">