The first important rule is that vertical margins collapse. That means that when a browser calculates the vertical distance between two adjacent elements, the largest margin will be applied, and the other one will be ignored. On the other hand, horizontal margins are added together to work out the total horizontal distance between two elements.
cssOctober 8, 2006 3:24 pm
Comments »
The URI to TrackBack this entry is: http://jdev.blogsome.com/2006/10/08/some-css-rules/trackback/
No comments yet.
RSS feed for comments on this post.
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
