Solved

ASP.net Button left justify text

Posted on 2014-04-14
3
377 Views
Last Modified: 2014-04-14
Hi
How do I left justify the text on an ASP.net button control?
Thanks
0
Comment
Question by:murbro
3 Comments
 
LVL 5

Assisted Solution

by:jayakrishnabh
jayakrishnabh earned 250 total points
ID: 39998476
apply style to button as follows.
<style>
.btnstyle {
            text-align:left;
            }
</style>

<asp:Button ID="Button1" runat="server" Text="Button" CssClass="btnstyle"  />
0
 
LVL 39

Accepted Solution

by:
Pratima Pharande earned 250 total points
ID: 39998590
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <style>
.btnstyle {
            text-align:left;
            }
</style>


</head>
<body>
    <form id="form1" runat="server">
    <div>
   <asp:Button ID="Button1" runat="server" Text="Button" CssClass="btnstyle"  />     </div>
    </form>
</body>
</html>
0
 

Author Closing Comment

by:murbro
ID: 39998662
Thank you both very much
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This video discusses moving either the default database or any database to a new volume.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now