[Typo3] Optimisation of Typoscript

JoH info at cybercraft.de
Mon Jun 6 12:39:20 CEST 2005


>> For your information, Joey's solution is fine but doesn't work when
>> the link text is wrapped on several lines and you want a background
>> color. In this case, each part of the string becomes a little box of
>> its own and it gets rather ugly (see attached screenshot).

Did you forget the screenshot?

The boxes result from a-tags being inline-objects by default. Solution:

a {
display:block;
}

Worked fine for me, but might need a little more tweaking for surrounding
elements.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list