Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong offset #247

Open
imgen opened this issue Jun 18, 2013 · 1 comment
Open

Wrong offset #247

imgen opened this issue Jun 18, 2013 · 1 comment

Comments

@imgen
Copy link

imgen commented Jun 18, 2013

When I use RequestReduce, one of the image's background-position is -1405px 26px which actually should be -1405px 0px, why this? The thing is I can see that all the images are combined horizontally, so where does this mysterious vertical offset come from?

@imgen
Copy link
Author

imgen commented Jun 18, 2013

Our CSS is

.epcHeader {
    width: 1024px;
    min-height: 110px;
    background:url("../Images/header_background.PNG") repeat-x scroll 0px 26px transparent;
    padding: 0px 0px 0px 0px;
    font-size: 13px;
}
.epcHeader .heading {
     margin: 0px 50px 0px;
     font-weight: normal;
     overflow: hidden;
}

.epcHeader .logo{
    background-repeat: no-repeat;
    background-image: url('../Images/expedia_partnercentral.png');
    margin: 0px 15px 0px 0px;
    float: left;
    display: inline-block;
    width: 194px;
    height: 38px;
}

I guess the .epcHeader class is where the 26px offset comes from. But how do we fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant