I need to use the “table cols” attribute for my main page ([URL]http://www.christianityfortoday.com/Delta_Troopers/[/URL]). But when i try to validate it (through the link in the footer), it says that the “cols” attribute doesn’t exist. I tried taking it out, but then the columns are all the same size.
I an not clear why you have a valid 4.01 badge on the page, when at present your page does not validate.[/QUOTE]
The site isn't really public yet, and when it does go public, I want it to be valid. That's why. I'll try that code later, I have to complete a project first (I hate school...).
@kiwibritMay 28.2006 — #The site isn't really public yet, and when it does go public, I want it to be valid. That's why. I'll try that code later, I have to complete a project first (I hate school...).[/QUOTE]
OK. You can see I have now edited COLGROUP and COL to lower case. Better to use that, makes it easier if you ever wish to switch to XHTML.
@JPnycMay 29.2006 — #I don't understand why "cols" is even necessary. You define how many columns there are by the number of cells per row, then just set the widths of the cells to govern the column widths.
@rcracingfan24authorMay 29.2006 — #I don't understand why "cols" is even necessary. You define how many columns there are by the number of cells per row, then just set the widths of the cells to govern the column widths.[/QUOTE]
Good point. Ok, it works now, I just did: <td width="17%">, <td width="66%">, & <td width="17%">.
@kiwibritMay 29.2006 — #I don't understand why "cols" is even necessary. You define how many columns there are by the number of cells per row, then just set the widths of the cells to govern the column widths.[/QUOTE] Well, <i> </i><td width="17%">Left Menu </td> <td width="66%">Main Content </td> <td width="17%">Right Menu</td>
validates in transitional code, but not strict. Why not learn good habits from the start?
@felgallMay 29.2006 — #Things that validate as transitional but not strict are those things that future browsers are not required to support any more. This is the transition period that allows people time to remove such code from their pages before support for it is dropped. That is why the document type is called transitional. Adding code that only validates as transitional is just creating more pages that you will have to convert later so it is something that you definitely should not do if you are lazy or don't have heaps of free time to redo your pages.