Reply to Re: pics middle in list

Your name:

Reply:


Posted by Jonathan N. Little on 02/20/07 19:54

HDI wrote:
> On 20 feb, 18:54, "Jonathan N. Little" <lws4...@centralva.net> wrote:

[trying to control list image's vertical position]

>>> Doesn't work
>> It won't you cannot control this. Only way I can think of is make image
>> a GIF with transparency and "pad" appropriately to position image where
>> you wish. NOTE: not all browser will position image in the same place so
>> you will have to test and tweak...
>>

>
> It's possible, I saw it on adobe.com.
>
> If i have more time I take a closer look for now I take he image tag.
>

I beg to differ. You may specify an image for a LI, and you can set the
'list-style-position' to be inside or outside the the 'block' (which
render a bit differently between browser's like IE vs the rest. We get
posts often about this). But your cannot position the image vertically.
The only way with the list-style-image is via method that I described, a
kludge at best. Otherwise would have to set UL to 'list-style: none;'
and physically stick an image in there:

<li><img src="...

or set a 'background-image' to the LI and make sure you have padding set
correctly to allow for your image to show...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация