Rob Desbois wrote:
> I never noticed that they ever were browser-independent.
I know, that's why I said 'that IE has supported for years' and why I
can't use them.
Despite the ways there are to do this such as these canvas projects or
something big and bulky client-side (Java, Flash possibly, any number of
similar technologies), what baffles me most is that you can inject
content client-side into many tags: script, style, div, title, all of
the things which contain HTML or text. But you can't do that with the
specialised tags like img, object and applet. Granted these do not
contain HTML, but then neither do script and style.
It just seems peculiar to me that there is this mismatch - why wouldn't
HTML have the capability to support, e.g. <img>GIF89a...binary
rubbish...</img>?
It does, using the data URI scheme, I just remembered to have read about
it somewhere...:
<img src="data:image/png;base64,
iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABGdBTUEAALGP
C/xhBQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9YGARc5KB0XV+IA
AAAddEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIFRoZSBHSU1Q72QlbgAAAF1J
REFUGNO9zL0NglAAxPEfdLTs4BZM4DIO4C7OwQg2JoQ9LE1exdlYvBBeZ7jq
ch9//q1uH4TLzw4d6+ErXMMcXuHWxId3KOETnnXXV6MJpcq2MLaI97CER3N0
vr4MkhoXe0rZigAAAABJRU5ErkJggg==" alt="Red dot" />
Of course it isn't supported in IE...
http://en.wikipedia.org/wiki/Data:_URI_scheme
--Klaus