[Borges-users] HtmlBuilder#image_url_anchor and
HtmlRenderer#image_anchor
Eric Hodel
drbrain at segment7.net
Fri Apr 23 18:37:27 EDT 2004
Kaspar Schiess (eule at space.ch) wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello all,
>
> I propose the addition of
>
> HtmlBuilder#image_url_anchor
> HtmlRenderer#image_anchor
> + def image_url_anchor(url, src, alt='')
> + url_anchor(url) do
I'd rather have developers use Component#style to control this, since
they can't override the attribute easily.
Perhaps there should be a default set of stylesheet rules provided with
Borges to remove things like image borders for links? (Almost all of my
stylesheets have an img { border: 0; } rule.)
> + # no thin blue line on iexplorer
> + @attributes[:border] = 0
> + image(src, alt)
> + end
> + end
--
Eric Hodel - drbrain at segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/borges-users/attachments/20040423/70162da1/attachment.bin
More information about the Borges-users
mailing list