Tuesday, November 22, 2011

CSS Div Overlapping the footer area

CSS can be very tricky as well as being quite elegant.
Sometimes you wish you'd stuck to html tables, and with html 5 becoming more prevalent, everyone will soon switch back to tables.
One issue we had recently was overalapping divs.
This was caused by the heightr being set on a div on the right side so the bottom footer was appearing over the top.
It seems the div itself expanded more than it's height.
The solution was to remove any height styles in the div and everything fitted.

No comments: