Apr 01, 2009, 11:46 AM
[CLOSED] How can I add a customer image to a toolbar?
I would like to add some branding to my sites with a company logo in the toolbar header in the "North" section of my viewport... I add the code dynamically like this:
Dim LogoButton As New ToolbarButton
LogoButton.IconCls = "MyIcon"
LogoButton.Width = 500
ToolBarHeader.Items.Add(LogoButton)
<style type="text/css">
button.MyIcon { background-image: url(/intranet/images/mmlogo_final.gif); width:100; }
</style>
The button appears but it is only a small square (20x20 pixels). Is there a better way to do this than adding a button? What is the ToolbarHTMLElement, would that be useful?