[Seaside] XHTML compliance
Avi Bryant
avi at beta4.com
Mon Jun 7 21:29:15 CEST 2004
On Jun 4, 2004, at 10:08 AM, Bany, Michel wrote:
> Careful !
> If I am correct the border attribute is deprecated in XHTML.
Ah, so it is - I hadn't realized that.
> I tend to prefer the use of a style element.
>
> html attributes height: 15; style: 'border: none'.
> html image: 'http://www.w3.org/Icons/valid-xhtml10.png' altText:
> 'Valid XHTML'
Which I would prefer was done with a StyleGroup - something like
html css: WAToolStyles xhtmlLink.
html image: 'http://www.w3.org/Icons/valid-xhtml10.png' altText: 'Valid
XHTML'.
...
WAToolStyles class>>xhtmlLink
^ self style: 'border: none; height: 15px'
Too cumbersome?
Avi
More information about the Seaside
mailing list