User Profile

Collapse

Profile Sidebar

Collapse
alexdarlington
alexdarlington
Last Activity: Jun 15 '10, 02:44 PM
Joined: Jun 14 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • alexdarlington
    replied to DIV height behaviour
    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!
    See more | Go to post

    Leave a comment:


  • alexdarlington
    started a topic DIV height behaviour

    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...
    See more | Go to post
No activity results to display
Show More
Working...