View Single Post
Old 06-23-2013, 11:04 AM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,082
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by SBT View Post
Lately I've been wondering why I should use <p> instead of <div>?
Sometimes it's pretty annoying not to be able to nest block-type elements within <p>-tags.
Looking at appendix D of theCSS2 (typical Defaults for HTML4...)
<div has none, no defaults
IMHO dive is a simple (box) container that can be customized

As with package shipping, use the best container designed for the article being shipped/displayed.
There is a whole section in CSS2 devoted to 'Block' (9: Visual formatting Model) [most which goes over my head ], but as I get it; controls how all the boxes are stacked together within the Cascade
theducks is offline   Reply With Quote