473,378 Members | 1,658 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

CSS based Tabless forms and validator controls


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

Nov 19 '05 #1
2 1825
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:u1***************@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

Nov 19 '05 #2
No not using divs, just labels and textboxes w/ css to control the layout. Is it okay to use divs in this fashion?
"S.M. Altaf [MVP]" <sm*****@PLEASEDONTSPAMMEmsn.com> wrote in message news:uw*************@tk2msftngp13.phx.gbl...
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:u1***************@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

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Antonio Maciel | last post by:
Hi. I tried the asp.net newsgroup before but with no success. I have some asp.net validator controls on the pages of a site. In IE the controls work ok but when I run the site on Netscape 7...
0
by: Tom Pearson | last post by:
I create controls and validators dynamically dependent on data at runtime. I create the control then the relevant validator(s) for it assigning the Control.ID as the control to validate. These...
2
by: neptune | last post by:
I have a query where each customer has an or . Sometimes both fields for a customer are populated, but if is null, then will be populated and vice versa. I have a form, , where I select a...
2
by: Pham Nguyen | last post by:
Has anyone seen an example of a textbox server control that has built-in client-side validation? I'd like to build a server control that extends the System.Web.UI.WebControls.TextBox class to allow...
2
by: Dune | last post by:
Hi there, If a control is disabled (enabled = false), will the validator controls associated with it automatically know not to carry out validation? I have a page with a bunch of controls and...
4
by: | last post by:
Hi Has anyone any experience using client side validation with asp.net forms. Specifically I'd like to know... 1. How do you attach client side code web controls (a button), like a...
3
by: Angelos Karantzalis | last post by:
Hi guys, I've a small problem with validators. I'm building a single .aspx file that handles all my form posts. I need to be using ASP.NET validators ( or subclasses thereof ), so what i do to...
1
by: Sam | last post by:
Hi all, Why can't i create a validatorControl as a child of the control to validate? It doesn't give any errors, but it just won't work (it's not validating). The reason why i want this is...
2
by: Mike Collins | last post by:
I have a form where I create dynamic controls at runtime. With this, I am adding a dynamic required field validator to each control as needed, but the validators are not firing when I click submit....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.