User Profile
Collapse
-
Thanks for the reply. At the moment I still find that css doesn't behave how I expect it to very often. Unfortunately there is no substitute for a good knowledge! -
DIV height behaviour
Hi,
I am a bit confused about the height behaviour of DIV elements. In particular, if I give a div a border it will include the padding of anything inside it when deciding the height. If I use no border the padding is not included in the height. This is very obvious if you color the background of the div.
Is this the correct behaviour? Can someone point me to where it is described on w3? Also any recommendations for books that...
No activity results to display
Show More
Leave a comment: