Re: Images & mouseovers
by Tamara Abbey <tamara(at)abbeyink.com>
|
Date: |
Sat, 23 Sep 2000 12:57:49 -0500 |
To: |
John Allred <webmaster(at)mscounties.com>, hwg-xml(at)hwg.org |
References: |
abbeyink |
|
todo: View
Thread,
Original
|
|
John,
Following my 24-36 hour crash course, /any/ style attributes are not
allowed in XHTML tags. So, borders must be attributed in the style sheet.
Darrell kindly sent this:
.imgBorder { border: solid; border-width: 2; border-color: #FF0000 }
then:
<.img class="imgBorder" ...
But, using it as img class is not recognized by NN 4.5. So, he suggested
using a div tag, but XHTML only allows one div tag, so I would have to make
up imgBorder1, imgBorder2, etc. in order to get it to look right /and/
validate -- next time around, I'm puttin 'em right on the dog-gone picture.
Because, setting one border in CSS means you have to set 'em all, so
borderNone for image links as a class tag doesn't work in NN --
Having fun yet??
And, still no progress on the mouseovers -- yet. A few attempts and ideas,
but none that validate, so I guess I'll end up going with the
tried-and-true even if it doesn't validate. Rats, I really like to validate
too.
HTH,
Tamara
At 11:15 AM 9/23/00 -0500, John Allred wrote:
>I haven't dug into XHTML, so I may be way off base here. But, to my
>knowledge, the border attribute is a valid HTML attribute and should
>also be valid for XHTML. If I'm right, why would it not validate if the
>value is quoted?
HWG hwg-xml mailing list archives,
maintained by Webmasters