liamloveslearning Posted February 22, 2010 Share Posted February 22, 2010 Hi everyone Im working on a drop down div for a website im building, on the click however it keeps adding a top-margin. when i see whats happening with firebug it shows the div being given an element style, as tho an inline style is defined, and this is overwriting the style ive assigned it, Does this make sense? If you click quick contact at the top of this page you will see my problem http://signworldgroup.com/al/media/index.html thanks Quote Link to comment Share on other sites More sharing options...
noober Posted February 22, 2010 Share Posted February 22, 2010 I see top:8px added to subBox1 which leaves a gap in the top of your form div. Other than that, I can't see anything unusual or an element style that firefox added margin to, like you've said. Maybe you can be more specific as to which div(s) this is happening to? Quote Link to comment Share on other sites More sharing options...
liamloveslearning Posted February 23, 2010 Author Share Posted February 23, 2010 What line do you see that on? Thanks for the reply Quote Link to comment Share on other sites More sharing options...
haku Posted February 24, 2010 Share Posted February 24, 2010 The top:8px is being set in your javascript somewhere. It's not being set in the CSS. 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.