[Typo3] Workaround for :first-child and :last-child in menus

Brian Nørremark brian at noerremark.dk
Wed Mar 2 18:27:39 CET 2005


Hey,

The graphics-guy designed this very nice design, with rounded menus and
everything - he made a workaround because IE don´t support :first-child and
:last-child, so a example of the menu would be:

<ul>
  <li id="first">Example</li>
  <li>Example</li>
  <li id="active">Example</li>
  <li>Example</li>
  <li id="last">Example</li>
</ul>

The graphics-guy ain't that happy about Typo3, so I'm having a hard time
proving that Typo can do whatever he wants it to.

How do I implement this in Typo3? Is the sollution some dirty
JavaScript-hack? (http://dean.edwards.name/IE7/)

-- Brian




More information about the TYPO3-english mailing list