Now on to css validation
-
Hi,
Site: https://www.os42.com
So I managed to sort out the xhtml validation for my page but now I am looking into the css validation and have hit a big snag with this one:-
textarea {
width: cols="70";
border: 1px solid #ccc;
background-color: #fffef1;
}
The width reference was put in to stop the comment box from opening right across the page. However, the W3C css validator pumps out this error message
Line: 0 Context : textarea
Invalid number : widthcols is not a width value : cols
Line: 0 Context : textarea
Parse Error – cols=”70″;
Line: 0
Parse Error – : 1px solid #ccc; background-color: #fffef1; } #commentlist
Has anyone else had this problem? I gather there must be a different way of making the textarea stay within the body of the page.
- The topic ‘Now on to css validation’ is closed to new replies.