Topic: Mini Table to CSS |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 03-02-2005 21:58
Alright I'm trying to get rid of most tables in my layouts. So I have a pretty simple table for laying out a form. Looks like so: (there's a little smarty template code in there which you can ignore) code: <table cellpadding="2" cellspacing="0" width="90%">
|
Paranoid (IV) Inmate From: France |
posted 03-02-2005 22:06
To do that kind of layout you should put the Username: and Password: texts in a label tag. quote: Tables for layout are evil. They give prostate cancer and attract the thunder of the standard advocates on your sites. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 03-02-2005 22:23
Forms are one of those questionable cases where, in a sense they *are* tabular data, yet they're so simple in structure (label, input, label, input) that it seems like using a table is just the easy way out. |
Bipolar (III) Inmate From: Minnesota |
posted 03-02-2005 22:24
You could do something similar to this. code: <?xml version="1.0" encoding="UTF-8"?> |