[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

drop down list box front to align center

Posted on 2005-04-24
4
Medium Priority
?
305 Views
Last Modified: 2006-11-18
Hi,

how can we align the font of a drop down list box to center?

and how can we set cursor to a textbox when the page loads? (in asp.net vb please)

Thanks.
0
Comment
Question by:EdwardPeter
  • 2
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
sansoftura earned 2000 total points
ID: 13854496

Set cursor in the textbox when loading
==================================
<body MS_POSITIONING="GridLayout" onload="javascript:Form1.txtName.focus();">
<form id="Form1" name="Form1" method="post" runat="server">

Above you need to have form name atribute set

or
<body MS_POSITIONING="GridLayout" onload="javascript:document.forms[0].txtName.focus();">
0
 

Author Comment

by:EdwardPeter
ID: 13854548
sansoftura,

Amazing, works like a charm, what can we do for the drop down lsit box?

Thanks.
0
 
LVL 6

Expert Comment

by:sansoftura
ID: 13854639
I doubt you can do that. But i will update you if find a solution
0
 

Author Comment

by:EdwardPeter
ID: 13854646
sansoftura,

Thanks so much.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Loops Section Overview
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month19 days, 16 hours left to enroll

873 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