Novice question

G

Greg Smith

I am starting the move from Windows to web.

How do you do the equivalent of TextAlign on a web label the way go can on
it on a Windows label?


Any help is greatly appreciated.
 
K

Kevin Spencer

I would recommend studying up on HTML, CSS, and JavaScript. The rules for
HTML are completely different from the rules for Windows applications. A
Windows application draws itself. An HTML document is a text document with
markup that tells a browser how to draw it. Because HTML documents (which is
what ASP.Net renders) are displayed on all kinds of machines and browsers,
there are sets of rules for HTML, CSS, and JavaScript that define how HTML
can be formatted, and as I mentioned, the rules are entirely different.

Here's a good cross-platform reference:
http://www.w3.org/

Also, the MSDN Library has a good reference (but some of it is proprietary
to IE):
http://msdn.microsoft.com/library/en-us/dnanchor/html/anch_webdev.asp?frame=true

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

What You Seek Is What You Get.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top