[TYPO3] Erase Pencils in Printversion
Tapio Markula
tapio.markula at dnainternet.net
Thu Jun 8 18:55:52 CEST 2006
Christopher wrote:
> The css 2.1 spec handles such things perfectly well [1]:
>
> /*
> This should work in the Mozilla family of browsers and Opera and
> probably in Safari/Konqueror too:
> */
> a[href=#] { display:none; }
sorry I have used that only for classes and id's.
I meant that CSS3 should have some content-related stuff.
> However, there is a workaround if you really *need* this capability;
> internet explorer has a way of evaluating javascript expressions in
> css stylesheets:
>
> /*
> This works in Internet Explorer:
> */
> a { display:expression(this.href=="#" ? 'none' : 'inline'); }
good to know exact syntax for that
More information about the TYPO3-english
mailing list