[TYPO3-english] TEXT content type and html lists

Christopher Torgalson bedlamhotel at gmail.com
Thu Oct 23 17:57:21 CEST 2008


On 23-Oct-08, at 8:46 AM, Tomas Mrozek wrote:

>> li {
>>    background:transparent url(list-bullet.png) no-repeat 2px 6px;
>>    padding:10px;
>> }
>
> Yeah, that's it.
>
> TIP: Use 'em' unit instead of the pixels for the top positioning of  
> the
> background image so that it moves at least a bit (it won't be perfect
> though) with the content of the element when the text size is  
> increased
> by the user.

Even better: use percentages (though if the li ends up being more than  
one line long, this can look odd…)

--
Christopher Torgalson
http://www.typo3apprentice.com/







More information about the TYPO3-english mailing list