I was assuming that class="formitems" was supplying some sort of
formatting to the form elements... only (duh) if it's an image button
that's not going to matter. But I used that larger selector to insure
that, since it's a form item, it receives the same class assignment
that the rest of the form items do.
So, yeah, the simpler version may be fine... depends on the specifics
of the implementation.
J
On Tue, 15 Mar 2005 13:22:14 -0500, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:
> or ...
>
> <button type="submit" id="imgSubmit"></button>
>
> #imgSubmit { background-image: "path/to/image.jpg"; }
>
> Granted, that with a button, you could just embed the image and make
> the style on the button transparent, i.e.
>
> <button type="submit" class="btnImage">
> <img src="path/to/image.jpg" /></button>
>
> button.btnImage { border: 0px; background-color: transparent; }
>
> I think that ought to work anyway... I wasn't paying attention to the
> earlier posts, so I don't know if the intent was to avoid button
> elements (which aren't supported by older NS browsers).
--
Continuum Media Group LLC
Burnsville, MN 55337
http://www.web-relevant.com
http://cfobjective.neo.servequake.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198838
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54