CSS Option to have Submit, Cancel and Close buttons with words rather than graphics

For my project, the users would prefer to see ‘Submit’, ‘Cancel’ and ‘Close’ on the buttons rather than the graphics. I’ve been looking through the Web Configuration document and found the necessary components.

 

However, I’ve noticed that Metastorm V9.1.2 the web page has been defined with the Close and Cancel button using the same CSS class and therefore the same Image defined in the CSS.

 

Does there need to be a change to the Metastorm code to achieve this? Also, how to widen the button image to allow the words 'Submit', 'Cancel' and 'Close' to be shown. This should be definable in the CSS, so a new Theme can be created.

 

Cheers

Graham

 

Tagged:

Comments

  • Hi Graham,

     

    You should be able to get round this by using css 2.0 - check out http://quirksmode.org/css/firstchild.html  - It should allow yyou to target either the first, last occurance of the element you wish affect allowing you to alter the correct button without code changes.

     

    Cheers,

     

    P

  • We've been asking for this for about 10 years! We did hack the web client in version 5 to display these, as they were different images IIRC. Annoying that they have now been merged.

     

    We don't often bother to change all these any more as every update will reset it anyway. The maintenance factor is usually not worth it for our customers.

     


    Graham Field wrote:

    For my project, the users would prefer to see ‘Submit’, ‘Cancel’ and ‘Close’ on the buttons rather than the graphics. I’ve been looking through the Web Configuration document and found the necessary components.

     

    However, I’ve noticed that Metastorm V9.1.2 the web page has been defined with the Close and Cancel button using the same CSS class and therefore the same Image defined in the CSS.

     

    Does there need to be a change to the Metastorm code to achieve this? Also, how to widen the button image to allow the words 'Submit', 'Cancel' and 'Close' to be shown. This should be definable in the CSS, so a new Theme can be created.

     

    Cheers

    Graham