|
-
Aug 10th, 2009, 03:21 PM
#1
Thread Starter
PowerPoster
[RESOLVED] Formatting an ASP form?
What is the best way to format an ASP Form? I'm trying to get a "Labels" and "Textbox" controls to horizontally align with each other within a HTML Table and can't do it? By the way...I'm new to Web Development.
Thanks,
-
Aug 10th, 2009, 03:30 PM
#2
Re: Formatting an ASP form?
Label and Input are both inline elements so they will line up horizontally by default (in a Table cell or not). If one element is dropping below the other it usually means the width of the container is not wide enough to fit both elements.
Post your html code.
-
Aug 10th, 2009, 04:10 PM
#3
Thread Starter
PowerPoster
Re: Formatting an ASP form?
Bruce,
I'm actually using ASP.Net. The "Input" are ASP Textboxes objects. If I'm understanding you...your referring to HTML Input boxes...correct?
Thanks,
-
Aug 10th, 2009, 04:19 PM
#4
Re: Formatting an ASP form?
First, you should be posting to the ASP.Net forum.
All ASP.NET controls generate one or more HTML elements. An ASP.Textbox generates an HTML Input element <input type="text">. The ASP.Label can generate an HTML Span or Label element.
Regardless, is the problem with the VWD Designer (when dragging and dropping controls onto a web page - like you would drag controls onto a VB Form) or is the problem with the final output, when you run the page.
-
Aug 10th, 2009, 04:43 PM
#5
Re: Formatting an ASP form?
Thread moved to 'ASP.Net' forum
-
Aug 11th, 2009, 01:24 AM
#6
Re: Formatting an ASP form?
You should really read up on CSS, DIVs and designing pages - having a little knowledge about HTML and CSS for layouts can help you a long, long way.
www.w3schools.com is a good resource for this.
-
Aug 11th, 2009, 09:02 AM
#7
Thread Starter
PowerPoster
Re: Formatting an ASP form?
Thanks mendhak...I'll check out some tutorials!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|