Image float right and left sliding down and below top div

They have: 5 posts

Joined: May 2009

I'm new. My top full-width "logo" DIV is 100px height. i have 2 floating images of 100px height also. when floated on the right and on the left, they fit snugly inside for IE7...but Firefox has them shifting downward and out of the DIV by ~25px. i'm sure it's easy to fix...right?? There is a "main" DIV and a "wrapper" DIV 'behind' it(for lack of a more technical term). i've been playing around with the code so much that i hesitate to paste it here at first. any guidance is much appreciated. arto

greg's picture

He has: 1,581 posts

Joined: Nov 2005

It's hard without a site link or code to view.
Did you clear the floats before closing the main wrapper?

<div style="clear: both;"></div>
</div><!-- end main wrapper -->

Also possibly top margin on the two inner divs, or top padding on the wrapper div (or both).

They have: 5 posts

Joined: May 2009

Thanks for the help!!! BUT, someone showed me that inside the DIV i had the 'image'code inside so i just removed the paragraph tags. Much much thanks

They have: 5 posts

Joined: May 2009

OOPs, left out a bit.
...inside paragraph tags..

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.