Jump to content

Chrome and 'absolute' css


Recommended Posts

Hi,

 

I wanted to add a logo and link to the top right hand corner of the original theme.

 

I added this to the header.tpl file, just under the original logo code -

 

<a id="right_logo" href="/15-interflora/" title="Interflora">
<img class="logo" src="ifblack.png" alt="Interflora Range"/>
</a>

 

and then this to the global.css file -

 

#right_logo  {
position: absolute;
left: 625px;
top: 10px;
z-index: -1;
}

 

It works fine in Explorer, Safari and Firefox (see example @ http://www.flowerstudio.im) but not in Chrome - in Chrome the logo just sticks to the left hand side directly under the original logo!

 

Any ideas?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...