[TYPO3-content-rendering] css_styled_content
Carla Froitzheim
cf at cf-webservice.de
Wed Aug 10 13:16:42 CEST 2005
Matthias Peltzer wrote:
>
>hi there... i have one question... an maybe a hint on that... if you
>think it is not... just ignore this...
>
>this example is ok but why are the most webdesigners or programmers
>using so much classes in their tags? for this there are many more
>possibilities.... and you can override all left conditions to ul,li or
>li a elements... this is much lighter code...
>
>
>
>
This example includes the option split feature giving you the
possibility of having different styles for a first menuitem, a last
menuitem and the middle menuitems (e.g. border-top or border-bottom
depending on the position in the menu). This can be only done if the
<li> and / or <a> depending on the position in the menu has it´s own
class. Of course, you can throw away all these classes if you don´t need
option split.
I think it is a good idea to add this hint to the example, just done.
Greets, Carla
More information about the TYPO3-project-content-rendering
mailing list