longtone Posted March 14, 2010 Share Posted March 14, 2010 This seems like a fairly simple menu with image replacement. The background image on the div should show through when there is no link, ie we're on that page. But it won't line up. I wouldn't mind but it's different on every browser. - btw, that's not the final version of the sign! http://www.phpplaypen.co.uk/test.php Quote Link to comment Share on other sites More sharing options...
haku Posted March 15, 2010 Share Posted March 15, 2010 What? I looked at your link and have no idea what you are trying to ask. Quote Link to comment Share on other sites More sharing options...
longtone Posted March 15, 2010 Author Share Posted March 15, 2010 oops, I should have said which browser to check it in In FF and IE8 the span background image is about 10 px below the div background image In Chrome it is about 5px below In IE7, IE6, Safari and Opera it lines up perfectly which is what I want The question is, how to get the span background to line up with the div background in all browsers? Quote Link to comment Share on other sites More sharing options...
haku Posted March 15, 2010 Share Posted March 15, 2010 ?? I'm not seeing that in FF. But try fixing your closing div tag - that may help. Quote Link to comment Share on other sites More sharing options...
longtone Posted March 15, 2010 Author Share Posted March 15, 2010 Good point about the closing div, don't know how that got in It doesn't make any difference though You're not seeing the shift in FF? Strange. I'm running FF 3.6 I'll try it on another machine Quote Link to comment Share on other sites More sharing options...
longtone Posted March 16, 2010 Author Share Posted March 16, 2010 I've sorted it: I moved position: relative from #sidebar_main p a to #sidebar_main p Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.