[TYPO3-english] image positioning not working

PIT Solutions typo3 at pitsolutions.com
Thu Jan 28 07:46:25 CET 2010


    Try this css in your stylesheet
div.csc-textpic-center div.csc-textpic-imagewrap .csc-textpic-image {text-align:center;}


----- Original Message ----
From: Katja Lampela <katja.lampela at lieska.net>
To: typo3-english at lists.typo3.org
Sent: Thu, January 28, 2010 4:19:56 AM
Subject: [TYPO3-english]  image positioning not working

Hi all,

I can't find what's wrong with my image positioning: one column images are all aligned left. Even though I choose center or right.

And there is this css declaration in /typo3temp/stylesheet123....css
div.csc-textpic-center div.csc-textpic-imagewrap .csc-textpic-image {text-align: left;}

I have new installation 4.3.1 and I tried to uninstall extensions one by one but so far no help.

I opened the /typo3temp/stylesheet.. and there it is in the last line of this quote:
    /* Center (above or below) */
    DIV.csc-textpic-center { text-align: center; /* IE-hack */ }
    DIV.csc-textpic-center DIV.csc-textpic-imagewrap { margin: 0 auto; }
    DIV.csc-textpic-center DIV.csc-textpic-imagewrap .csc-textpic-image { text-align: left; /* Remove IE-hack */ }
    DIV.csc-textpic-center DIV.csc-textpic-text { text-align: left; /* Remove IE-hack */ }

Above that all is /* default styles for extension "tx_cssstyledcontent" */
but I tried older versions of css styledcontent in template include static section, but no help there.

I obviously tried in my own stylesheet
DIV.csc-textpic-caption-l .csc-textpic-caption { text-align: center; }
but no help.

How can I get rid of this and get the positioning working?

-- With kind regards

Katja Lampela
TYPO3-english mailing list
TYPO3-english at lists.typo3.org

More information about the TYPO3-english mailing list