[FX.php List] Problems w/ Internet Explorer 7 (submit via image)

Joel Shapiro jsfmp at earthlink.net
Thu Feb 15 14:42:29 MST 2007


Thanks Alex and Gjermund

I'll try a CSS button when I get the chance and report back.

-Joel


On Feb 15, 2007, at 8:18 AM, Gjermund Gusland Thorsen wrote:

> I would do it like this, I believe
>
> input.submitImage {
> 	background: url(images/MyButton.png) no-repeat;
> 	font-size: 10px;
> 	color: black;
> }

On Feb 15, 2007, at 5:49 AM, Alex Gates wrote:

> Sorry, Joel, I guess I didn't read your post well enough -
> I see that you do to use text in your button...(at first I thought you
> just wanted the image).
> I think this may the solution somewhat easier...
>
> Use a CSS class like:
>
> button {
>
>         font-family: Arial, Helvetica, sans-serif;
>         font-size: 100%;
>         background-image : url(images/submit.gif);
>         background-position : bottom;
>
> }
>
> Then, instead of using
>
> <input type="image" name="application" value="submit" src="images/
> submit.gif">
>
> Use -
>
> <input name="application" type="submit" class="button"  
> value="submit" />
>
>
> Give that a try.
>
> Alex P. Gates
>
>
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list