problem with template: negative margins on float

Posted by Fuxi on Pro Webmasters See other posts from Pro Webmasters or by Fuxi
Published on 2011-03-08T15:35:19Z Indexed on 2011/11/22 18:16 UTC
Read the original article Hit count: 257

Filed under:
|

i'm having a very strange problem with the wordpress template. i'd like to place 2 divs besides each other like this:

<div style='float:left;'>
    left div
</div>
<div style='float:right'>
    right div
</div>

normally this works as it should - both divs should stick directly to each other - but something in the style.css (which uses css reset) causes the right div to overlap the left div with ~ 5pixels. i searched the whole .css for it but couldn't find out :(( it's just a fact that it must be something with the default css.

anyone knows what is causing this - some fix?

thanks

© Pro Webmasters or respective owner

Related posts about css

Related posts about template