Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Div content overlapping

I've got the following markup and styling: http://cssdesk.com/dtYQc. My problem is that when I zoom page smaller in Mozilla Firefox/IE content of .employee-card overlaps div borders at the bottom. And in Chrome only Details link overlaps.

Also how do I fix the markup (sidebar is positioned incorrectly when zooming): http://cssdesk.com/A7dzX.

Thanks!

like image 575
lexeme Avatar asked May 25 '26 12:05

lexeme


1 Answers

As to the second question - add to #sidebar in its style position:absolute, then you can change margin so it will match to where you want it to be.(margin: 60px 0;). It will not be positioned incorrectly after you're doing that.

like image 181
ParPar Avatar answered May 28 '26 01:05

ParPar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!