locked
Icon with Text Buttons RRS feed

  • Question

  • User-785853015 posted
    Hi guys <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>Just wondering if anyone know if any freely available custom button/hyperlink control that can have an icon and text. I am thinking of a button similar to those in WSS 2007 or the "Write new post" button here on this forum.<o:p></o:p>

    Thanks
    Anthony

    Saturday, March 22, 2008 6:04 PM

Answers

  • User187056398 posted

    You can roll your own with CSS:

        <style type="text/css">
            .PictureButton
            {
                background-image: url('COMPUTER.ico');
                background-repeat: no-repeat;
                background- center;
            }
        </style>
    
     
      <asp:Button ID="Button1" runat="server" CssClass="PictureButton" 
            style="z-index: 1; left: 110px; top: 240px; ; height: 60px; width: 175px" 
            Text="Press Me!" />
      
     
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, March 22, 2008 9:30 PM