how do i change the size of my button
hello,
can anybody advise me on how i can change the size of my button, i want it to be a specific size, i.e. smaller than what it is now. the following is the code i have. any suggestions will be good,
thanks
<headid="Head1"runat="server">
<title>Untitled Page</title>
<scriptrunat="server">
Sub submit(Source AsObject, e As EventArgs)
button1.Style("background-color") = "#ADD8E6"
button1.Style("color") = "#000000"
button1.Style("width")="200px"
button1.Style("cursor")="hand"
button1.Style("font-family")="verdana"
button1.Style("font-size") = "10pt"
button1.Text = "button"
EndSub
</script>
</head>
<body>
<formid="Form2"runat="server">
<asp:Buttonid="button1"Text="Click me!"runat="server"OnClick="submit"/>
</form>
</body>
</html>
|