[TYPO3-core] RFC: #10892: Make it possible to style a hover color for pagetree items

Steffen Kamper info at sk-typo3.de
Mon Apr 20 09:10:48 CEST 2009


Hi Benni,

Benjamin Mack schrieb:
> Hey Steffen,
> 
> On 19.04.2009 18:08 Uhr, Steffen Kamper wrote:
>> i disagree. To style the span you need display:block, otherwise each
>> span has different dimension. Using span with display:block doesn't make
>> sense, so div would be the best imho.
> I don't get that: "each span has different dimension".
>
i attached a screenshot then you see what i mean ;-)

> Basically this is what my basic knowledge of CSS/HTML tells me:
> 
> <span>
>     no styles predefined
> 
> <div>
>     no styles predefined except "display: block"
> 
> Well, if we just need an extra tag for anything to style for the 
> skin-styler, I would suggest taking the span since this one does not 
> destroy anything on all the million skins that are out there :)
> 
> About the naming of the class - maybe we finally should come up with a 
> good class naming scheme that is consistent and is well document. Just 
> adding this
> 
> Personally I don't care if it's a span or a tag, or what naming it is, I 
> just don't want to make the code more horrible than it already is... ;-)
> 
> So, if you like the div more, Steffen, go ahead and give your +1, fine 
> with me (no big deal, really - I normally hate nitpicking, so I don't 
> want it to be a bigger issue than it's already is).
> 
> All the best,
> Benni.

i'm +1 on the div. It's anyway a temp. change until the pagetree is 
extJs-i-fied :-)

vg Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: span.png
Type: image/png
Size: 11042 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090420/9ae448c1/attachment.png 


More information about the TYPO3-team-core mailing list