Quote from: sottwell at Mar 07, 2006, 07:35 AM
Nice stuff; I’ll be happy to just get it working!
Thanks Susan
I was reading different coding styles for Input Button to style them via CSS. I used traditional style:
<form id="form1" name="form1" method="post" action="">
<input class="greenbutton" type="submit" name="Submit" value="Buy Now!" /><br />
<input class="blackbutton" type="submit" name="Submit" value="Add to cart" /> <input class="textbox" type="text" name="quantity" /><br />
<input class="greenbutton" type="submit" name="Submit" value="Continue" /><br />
</form>
But it renders very different on IE and FF. In FF it obeys the hover and focus behaviours, but in IE ... IE Sucks!
Another way I got to style them is:
<form action="/dev/cubecart/upload/index.php?act=viewCat&catId=1" method="post" name="prod1">
<input name="add" value="1" type="hidden">
<input name="quan" value="1" type="hidden"><a href="javascript:submitDoc('prod1');" target="_self" class="txtButton">Buy</a>
<a href="index.php?act=viewProd&productId=1" target="_self" class="txtButton">More</a>
</form>
Second code is borrowed from CubeCart sample install
For second one, I dont know if its valid or doable.. but it renders and behaves same in IE and FF, so I would love to have your input.
regards,
zi