Quantcast
Viewing all articles
Browse latest Browse all 2638

Re: CL_GUI_HTML_VIEWER - HTML button with image

Hi,

 

See: CSS Backgrounds

 

Try this code:

 

<html>

<style type="text/css">

body {

    margin: 0;

    padding: 0;

    background: white;

    overflow: auto;

}

 

input.fbutton {

    font-size: 24px;

    font-weight: bold;

    width: 100%;

    height: 170px;

    background-color: orange;

    border-style: single;

    background-image:

        url(http://static4.bigstockphoto.com/thumbs/4/5/2/small2/25475744.jpg);

    background-repeat: no-repeat;

}

</style>

<body>

    <FORM name="2050_SEARCH_BUTTON" method=post

        action=SAPEVENT:2050_SEARCH_BUTTON>

        <input type=submit name="SEARCH_BUTTON" class="fbutton" value="Search"

            title="">

    </form>

</body>

</html>

 

Result:

 

Image may be NSFW.
Clik here to view.

 

 

Regards.


Viewing all articles
Browse latest Browse all 2638

Trending Articles