123Jim wrote:
> "Beauregard T. Shagnasty" wrote:
>> 123Jim wrote:
>>> "Beauregard T. Shagnasty" wrote:
>>>> 123Jim wrote:
>>>>> So ... I've been looking at some of my pages and getting 4.01
>>>>> strict validation errors for <br> and for <br clear="all"> and a
>>>>> few other elements.
>>>>
>>>> URL? To borrow a statement from Jonathan, "We are web designers,
>>>> not psychics."
(I'll guess you have your <br>s as a child
>>>> of <body> and not of a block-level element.)
>>
>> Did you figure out your <br> errors?
>
> My own errors are many, but simple. For example here:
> http://myweb.tiscali.co.uk/ladycroft..._contents.html
Hah! As I suspected, your <br>s are within the <body>. That's an error
(for each one) in Strict. You don't need them anyway; add some
bottom-margin to the preceding <div>s.
> ( was more interested in the JavaScript at time of writing it)
>
> What about those textareas? the validator wants rows and columns but
> I have pixels .. which make more sense to me, it works, is invalid
> and I need to think about fonts, ems in order to change it ?
'Tis because width and height are not valid attributes for <textarea>.
http://www.w3schools.com/tags/tag_textarea.asp
You need the rows and columns.
Oh, and I'm quite happy with my default font and size for textareas. You
don't really need to specify those, either. <g>
(I don't do JavaScript, so no comments on any of that.)
--
-bts
-Four wheels carry the body; two wheels move the soul