The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Forms: Examples of using CSS instead of tables needed., Trying to find an example with only the form css. Not a bunch of extra
Barons
post Feb 21 2011, 04:06 PM
Post #1


Member
***

Group: Members
Posts: 70
Joined: 7-November 10
Member No.: 13,091



Hello,

I've got a few forums that I'd like to rebuild with css. Currently I'm using tables on them. I'm having a lot of trouble with it because all the examples of css forms I'm finding online are breaking my page. It seems like all the ones I'm finding are built to be a page of there own and I'm trying to put all of my forums in php files and include them into my site. The main reason I've decided to rebuild them is because of a false error i'm getting in the html validation. All my forms are on their own page as you can see below.


http://www.wararmada.../php/search.php
http://www.wararmada.../php/submit.php
http://www.wararmada...php/contact.php

I've included them into my site using php code here.

http://www.wararmada.com/tdb

The validation page isn't seeing any of the php code and its under the impression that I've used unique id's multiple times on the same page when really I haven't.

So as for the css forms. Do any of you know of some examples of forms that are standalone? I'm not a pro or anything close and its really hard for me to strip out all of the "just for looks" code in the examples i'm finding. I've already done all the styling I just need to see how the meat of the form css works.

Thanks for the help.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Feb 21 2011, 08:01 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



QUOTE
The validation page isn't seeing any of the php code and its under the impression that I've used unique id's multiple times on the same page when really I haven't.
As far as the validators and browsers are concerned, it's all one page. They don't care that you assembled it from several separate files on the server. All they see is the combined page that the server sends.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Barons
post Feb 21 2011, 10:33 PM
Post #3


Member
***

Group: Members
Posts: 70
Joined: 7-November 10
Member No.: 13,091



Let me ask you this. If I go in and fix the id's so that they are truly unique will I be using the tables correctly?

I would like to keep the tables if its the right way to use them. I've been trying to rebuild the forms only using css because I thought tables were bad.

How does that apply to the way i've used them? Do i really need to change them?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Feb 22 2011, 03:09 AM
Post #4


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



QUOTE
I thought tables were bad.
Tables aren't bad. Tables are perfect for tabular data. Here's a page that uses tables this way:
http://htmlhelp.com/reference/html40/entities/latin1.html

The goal is to avoid misusing tables.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Barons
post Feb 22 2011, 03:25 AM
Post #5


Member
***

Group: Members
Posts: 70
Joined: 7-November 10
Member No.: 13,091



So am I misusing them in my forms?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Feb 22 2011, 12:50 PM
Post #6


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



I think it would be appropriate to use tables for your forms. However, your actual tables appear to be much more complicated than necessary. I don't see why you would need nested tables at all.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Barons
post Feb 22 2011, 01:46 PM
Post #7


Member
***

Group: Members
Posts: 70
Joined: 7-November 10
Member No.: 13,091



Nice! Thanks Darin, I'm going to leave them alone for a while and work on other things. I'll try to get around to making them less complex latter.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 09:38 AM