[TYPO3-english]  different stylesheet when contentfield is empty
    Stephan de Bruin 
    stephan.de.bruin at dpdk.nl
       
    Tue Feb  3 12:30:05 CET 2009
    
    
  
Hello all,
is it possible to load a different stylesheet when ther is no content in 
a column?
I want my middle column to have a different bg image when there is no 
content. I've tried the following, but without succes:
subparts.sense_content = COA
subparts.sense_content {
     stdWrap.cObject < styles.content.get
     stdWrap.ifEmpty.cObject = CONTENT
     stdWrap.ifEmpty.cObject {
     	page.includeCSS.file16 = main_stylesheet_empty_middle_column.css
     }
}
Thanx in advance for your help.
Greetings,
Stephan
    
    
More information about the TYPO3-english
mailing list