Problem to Linkbutton

Hi,
Using these
       
.lb_log{
            background-image: url("../pict/Key_16x16.png");
            background-repeat: no-repeat;
            padding-left: 15px;
            text-decoration: none;
            top: 30px;
            left: 1145px;
            width: 60px;
            height: 30px;
            font-size:large;
            font-weight:bold;
        }    
		...
                            <asp:LinkButton ID="lb_user_acc" 
                                Text = "登录"
                               CssClass="lb_log" 
                               Font-Names="Arial Unicode MS" 
                               Font-Bold="true"
                               Font-Size="10pt" 
                               ForeColor="#5637D4"
                               OnClick="lb_log_Click" 
                               runat="server"/>
							   ...

Open in new window

the word is displayed like
1
while I want the word be displayed horizontally. what to adjust?
LVL 12
HuaMin ChenProblem resolverAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hans LangerCommented:
in your style you are defining width of 60 pixels ( width: 60px;),  maybe the character is too big to fit 2 on the 60 pixels and that is why it move it to the new line. Can you try with more width?
HuaMin ChenProblem resolverAuthor Commented:
Thanks.
I adjust the width (in css) from 60px to 80px. But the problem persists.
WebberCommented:
Firstly, if you try it with more width make sure you are using like 200px or something like that. So you can be absolutely sure its wide enough.

That said, i dont see any of the css attributes being computed.
E.g.: No padding left, no positioning from left or top etc.
Make sure your css file is properly linked.

If none of that works you might want to try

.cssSelector {

-ms-word-break: keep-all;
word-break: keep-all;

// Non standard for webkit
word-break: keep-word;

}

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HuaMin ChenProblem resolverAuthor Commented:
Thanks all.
I did adjust the codes. But now the picture file does overlap with the Text like
https://dl.dropboxusercontent.com/u/40211031/tt340.png

using these codes.
        .lb_log{
            background-image: url("../pict/Key_16x16.png");
            background-repeat: no-repeat;
            padding-left: 7px;
            text-decoration: none;
            top: 30px;
            left: 1145px;
            width: 80px;
            height: 30px;
            font-size:large;
            font-weight:bold;
        }    
		...

Open in new window

what to adjust?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.