click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Schellink <>
Subject Re: Space between AbtractLink image and text
Date Tue, 06 Oct 2009 08:04:45 GMT
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


Adrian A. wrote:
>> AbstractLink renders a space (&nbsp;) 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.

View raw message