[TYPO3] RO_chBgColor & optionSplit

Georg Rehfeld georg.rehfeld at gmx.de
Thu Jun 7 23:57:29 CEST 2007


Hi Anders, Johannes, all

Johannes Künsebeck wrote:
>> Thanks! I didn't know that I could use hover on table's.... :|
> 
> doesn't work in ie (only for <a>)

Hey, Anders never mentioned tables ... though, most "good" browsers
support :hover for most elements. And IE 7 does a better job for :hover
than older versions.

The W3C spec however is (sadly) very unspecific, compare
   http://www.w3.org/TR/CSS21/selector.html#dynamic-pseudo-classes

| CSS doesn't define which elements may be in the above states, ...
| CSS 2.1 doesn't define if the parent of an element that is ':active'
| or ':hover' is also in that state.

And, although this list is not a CSS list, I would like to give the
hint:

even for IE 6/5.5 only supporting a:hover you _can_ do amazing things
by e.g. setting the anchor to "display: block; width: ...". And the <a>
may contain other elements as well, but note, only _inline_ elements, so
for sure you can't embed a table inside. But you may format the inside
elements, typically one or more spans, with "display: block;" too, or
even with "display: table;" etc.

Have a look at
   http://schoppe-freiraumplanung.de/Roemischer-Garten.84.0.html

and inspect the HTML source for the popup images inside
<div id="bilder"> : just some <a><span></span></a> tags. And there are
more advanced samples around :-)

regards, Georg
-- 
   ___   ___
  | + | |__    Georg Rehfeld      Woltmanstr. 12     20097 Hamburg
  |_|_\ |___   georg.rehfeld.nospam at gmx.de    +49 (40) 23 53 27 10

               (Delete .nospam from mail address)


More information about the TYPO3-english mailing list