Try changing :
   background-position: center top;

into:
   background-position: top center;

See: http://www.w3schools.com/css/pr_background-position.asp

Vertical alignment comes first, than horizontal.
I don't know if this will actually solve the problem, but it's worth trying,
haven't seen that before...

Regards,
Lourens

2008/10/19 Gintautas Simkus <[EMAIL PROTECTED]>

> Hello,
>
> I got this glitch with IE-7 which you can take a look at @
> http://www.archsite.net
> And here's a snapshot
> http://img353.imageshack.us/my.php?image=081019122236msie70windoiq3.png
>
> As you can guess the shadow and the content region should align nicely and
> create the depth impresion.
>
> 50+ different browser/OS combinations (using browsershots.org) returned
> ideal results except this one. Well actually IE 5 and IE 5.5 also did a
> terrible job (I am sure this comes as a shock to you /sarcasm off). Anyways
> I guess IE-7 is pretty popular, so I need this fixed ASAP.
>
> Website is valid XHTML 1.0 strict and CSS is error-free also.
>
> For background and main content area centering I am using the following
> code:
>
> body {
>    text-align: center;
>    background-color: #043559;
>    background-image: url( images/background_texture.png );
>    background-position: center top;
>    background-repeat: repeat-y;
>    font-family: Verdana, Arial, Helvetica, sans-serif;
>    color: #333333;
> }
>
> .layout {
>    position: relative;
>    width: 750px;
>    height: 600px;
>    margin-left: auto;
>    margin-right: auto;
>    margin-top: 50px;
>    background-image: url( images/content_sponge_q47.jpg );
>    background-repeat: no-repeat;
>    text-align: left;
> }
>
> Hope someone can figure this out.
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> 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/
>



-- 
http://www.linkedin.com/in/lourensthalen
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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