[Typo3] Conditional include of CSS file

JoH info at cybercraft.de
Wed Aug 10 18:17:20 CEST 2005


> but how can I set the CSS based on such a condition? Any ideas? I
> couldn't find anything in the forum - especially since many links
> don't work anymore. (Is there a solution to the broken link problem I
> don't know?)
>
> This is what I'd like to set when the right column is empty:
>
> page.headerData {
>   10 = TEXT
>   10.value = <style type="text/css" title="No right column">
> /*<![CDATA[*/ .content { margin-right: 10px; } /*]]>*/ </style>
>  }

page.headerData {
  10 = TEXT
  10.value = <style type="text/css" title="No right column">/*<![CDATA[*/
.content { margin-right: 10px; } /*]]>*/ </style>
  10.if.isFalse.numRows < styles.content.getRight
 }

Joey





More information about the TYPO3-english mailing list