Oops  I left that part out!  Yes:

 .addButton {
        background-image:url(../images/add.gif);
        background-position:center;
        background-repeat:no-repeat;
        background-color:lt grey
        }

Although Matt has a point... if there is no reason to use a struts
<html:button> tag, then don't.  My workaround was done way back when I first
started with Struts, (mere MONTHS ago!) so it's probably not the best way,
although it does work.

-- 
Wendy Smoak

-----Original Message-----
From: Wayne A Christian [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 10:48 AM
To: Struts Users Mailing List
Subject: RE: images in html buttons


Wendy,
  So you use the style sheets as a way to attach the image to the button?

Reply via email to