Hello to all!

Can you please help me with my simple problem regarding to my image logo.

i used div tag to my logo in order for me to position it in top left side of my web page.
i thought everything's fine but when i try to minimized the web browser (chrome, firefox, E.I) the location of my logo was now at the wrong place..

Can somebody help me with my problem? this is all what ive'd done in css. .

#logo
{
    width:250px;
    height:154px;
    background-image:url(img/logo.png);
    float:left;
    margin-left:10em;
    background-attachment:fixed;



}

Thanks in advance to all of you guys.

sorry for my grammar. im not good in english.

Recommended Answers

All 3 Replies

Try getting rid of the line:

background-attachment:fixed;

The problem isn't just in the css of your logo!
Put both of all your HTML and CSS or even better a link to your webpage if Rade's solution doesn't help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.