View Poll Results: What is the best way to set up forms in CSS?
- 6. You may not vote on this poll
Results 1 to 3 of 3
Thread: Proper way to set up a form?
Jul 10, 2003, 09:11 #1
- Join Date
- Nov 2001
- 0 Post(s)
- 0 Thread(s)
Proper way to set up a form?
I was wondering what the best way to set up a form would be in CSS. Is it better to use tables since it is structured data or div/span tags?John Saunders
Jul 10, 2003, 09:22 #2
Ugh, that's a tricky one. There correct answer as far as W3C are concerned would be DIVs... it's not tabulated data. That's what I voted for. That said, I'd usually use a table for ease, though I didn't on the last site I did.
Jul 10, 2003, 09:27 #3
You can also do this, if having your label and field on the same line isn't too important:
<p><label for="firstname">First Name:</label><br /> <input type="text" name="firstname" id="firstname" /></p>