[TYPO3-english] image positioning not working
bernd wilke
t3ng at pi-phi.tk
Thu Jan 28 21:27:43 CET 2010
Am Thu, 28 Jan 2010 19:26:37 +0200 schrieb Katja Lampela:
> Hi Ernesto,
>
> Ernesto Baschny [cron IT] kirjoitti:
>
>> The magic of the center positioning is done by the "margin: 0 auto".
>> Maybe you are overwriting the "margin" css style in your stylesheet?
>> Best way is to find out is to analyse your CSS with something like
>> Firebug.
>
> Thank you so much for this information. I tested more and when there is
> only one image in the element it aligns nicely where it's told to. When
> there are several images (1 column), they are aligned to left. But I
> really don't get the bad doer here.
>
>
>> If you have an URL where the erroneous behaviour is shown, we could
>> take a look at it and help you better instead of just "guessing" what
>> could be wrong.
>
> You are so kind :) - http://mercuri.lieska.fi/test
>
> and the logo images in question are in left column "KAUPAN LIITTO",
> "FINPRO" and the "M.." thing.
>
for your mercuri2010.css (line 256):
div.co-n1 div.csc-textpic-center div.csc-textpic-imagewrap dl.csc-textpic-
image { float:none; }
^^^^^^^^^ ^^^
you have to be more specific than the css from CSC to override.
bernd
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-english
mailing list