Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2005

Tip: Looking for answers? Try searching our database.

CSS based Tabless forms and validator controls

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Showjumper - 23 Oct 2005 17:12 GMT

I have a contact form that is tableless (css based layout). I added the
validator controls (required field) for the first, last name and email
fields. However the validators dont display immediately next to the
textboxes but rather they display on the next line throwning the form out of
alignment. Has anyone had any experience with tableless forms and the
validators - getting them to align properly?

Thanks a bunch
Ashok
S.M. Altaf [MVP] - 23 Oct 2005 21:33 GMT
Ashok,
If not tables, are you using DIVs? (*shudders inexplicably*)  

You'll need to set the width of the DIVs to accommodate the validators so that there's no wrapping.  

-Altaf [MVP]

--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com

 I have a contact form that is tableless (css based layout). I added the
 validator controls (required field) for the first, last name and email
 fields. However the validators dont display immediately next to the
 textboxes but rather they display on the next line throwning the form out of
 alignment. Has anyone had any experience with tableless forms and the
 validators - getting them to align properly?

 Thanks a bunch
 Ashok
Showjumper - 24 Oct 2005 01:13 GMT
No not using divs, just labels and textboxes w/ css to control the layout. Is it okay to use divs in this fashion?
 Ashok,
 If not tables, are you using DIVs? (*shudders inexplicably*)  

 You'll need to set the width of the DIVs to accommodate the validators so that there's no wrapping.  

 -Altaf [MVP]

------------------------------------------------------------------------------
 All that glitters has a high refractive index.
 www.mendhak.com
   "Showjumper" <dfgkjhdf> wrote in message news:u1r0Dy%231FHA.464@TK2MSFTNGP15.phx.gbl...

   I have a contact form that is tableless (css based layout). I added the
   validator controls (required field) for the first, last name and email
   fields. However the validators dont display immediately next to the
   textboxes but rather they display on the next line throwning the form out of
   alignment. Has anyone had any experience with tableless forms and the
   validators - getting them to align properly?

   Thanks a bunch
   Ashok

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.