hi,

i tried setting its container ".content" to 200px, and it worked.
it must be that opera sees the container to be 0 height when it tries
to position the .logo-footer.
so you need to give the container a height.

cheers,
virgil
http://www.jampmark.com


On Sat, Jan 31, 2009 at 10:18 PM, Cristian Palmas
<cristian.pal...@gmail.com> wrote:
> Hi all,
>
> I have a problem on a client's site at the address http://www.tecnicaed.it.
>
> The footer has a div.logo-footer which has these properties:
>
> #footer .logo-footer {
>    width: 196px;
>    float: left;
>    margin-left: 12px;
>    margin-top: -12px;
>    position: absolute;
>    top: 50%;
>  }
>
> The intention is to make it always be in the middle height of the footer,
> even if a user increase the font-size properties of the browser (I tested it
> using 16px).
> This simple solution works for IE7 & 6, FF3.0.5, Chrome 1.0.154.46 and
> Safari 3.1.2, all of them on WinXP SP3.
> But in Opera 9.61 it does not work: the .logo-footer is position at the top
> and half cut.
> Could someone tell me why?
> Thanks in advance.
>
> --
> ~ Cristian Palmas ~
> http://www.cristianpalmas.it
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to