Skip to Content
0
Former Member
Dec 01, 2004 at 10:32 AM

How to place an image on a button! (HTMLB)

142 Views

I got it:

<htmlb:button id = "myButton14"

text =

"<img src='/sap/public/bsp/sap/public/bc/icons/s_s_okay.gif' border='0'>OK "

onClick = "myButtonClick"

encode = "FALSE" />

The size of the button changes. To prevent this just set the image height to 10.