[Plone-UI] Re: Plone's icon size & CSS background arbitary clipping

Alexander Limi limi at plone.org
Wed Nov 23 12:16:04 UTC 2005


On Wed, 23 Nov 2005 01:13:31 -0800, Mikko Ohtamaa  
<snaapy at gmail.com> wrote:

> There is .visualIconPadding CSS style but it doesn't fix height in folder
> listing and add item menu.
>
> Is there a guideline to follow in this matter?
>
> I have made a fix for my Ruby Red skin by modifying the folder listing  
> template.
>  There are two ways
>
> 1. Use <img> tag instead of CSS background-image for icons
>
> 2. Add padding-bottom (arbitary 8 px) for folder listing view items. This
> extends space for background image. Note that line-height or min-height  
> didn't
> work on Firefox/Opera.

I would go for option 2, but this depends on how it looks, of course.

-- 
_____________________________________________________________________

      Alexander Limi · Chief Architect · Plone Solutions · Norway

  Consulting · Training · Development · http://www.plonesolutions.com
_____________________________________________________________________

       Plone Co-Founder · http://plone.org · Connecting Content
   Plone Foundation · http://plone.org/foundation · Protecting Plone




More information about the UI mailing list