Space between AbtractLink image and text

3 messages Options
Embed this post
Permalink
Bob Schellink-2

Space between AbtractLink image and text

Reply Threaded More More options
Print post
Permalink
AbstractLink renders a space ( ) between the optional image and
text. This creates a problem when trying to style the link with CSS
especially when trying to drop the underline from the image.

Is it OK if we remove this space? Users can use CSS padding instead to
control the spacing between the image and text.

kind regards

bob
Adrian A.

Re: Space between AbtractLink image and text

Reply Threaded More More options
Print post
Permalink
> AbstractLink renders a space ( ) between the optional image and
> text. This creates a problem when trying to style the link with CSS
> especially when trying to drop the underline from the image.
> Is it OK if we remove this space? Users can use CSS padding instead to
> control the spacing between the image and text.
Yes, but IMHO we should still put a default padding of "one space" there.


Adrian.

Bob Schellink-2

Re: Space between AbtractLink image and text

Reply Threaded More More options
Print post
Permalink
Hmm, if we add a padding inline it won't be possible to style the
padding from an external CSS, as the inline padding will override the
other value. So not sure what is a good way to provide a default padding.

In the meantime I've checked in the code to remove the space and updated
the LinkDemo example.

kind regards

bob

Adrian A. wrote:

>> AbstractLink renders a space ( ) between the optional image and
>> text. This creates a problem when trying to style the link with CSS
>> especially when trying to drop the underline from the image.
>> Is it OK if we remove this space? Users can use CSS padding instead to
>> control the spacing between the image and text.
> Yes, but IMHO we should still put a default padding of "one space" there.
>
>
> Adrian.
>
>