TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Matt
NA
5
0
How to display some info neatly
Apr 4 2010 4:23 PM
I am trying to display three things in a row on a page.
First, a string of text saying "Name", second a Textbox, third a button that says "Submit".
What is the best way to display this row of objects by having the width of the screen that shows the string only be the width of the string; the button aligned to the right, taking up only as much width as the button needs to show the text on it; and the TextBox in between those 2 things filling up the width between them? So, if the screen is resized the "Name" string and search button stay the same widths on either edge of the screen, but the textbox will shrink or expand but still fill up the entire width between the other two objects.
I tried using percentages for the object widths, but I'm not getting the results I want. Any ideas?
Reply
Answers (
4
)
Unable to perform edit operations on a db using queries on vb.net code
draw rectangle in grid