> This is related to my question yesterday about proper use of div > tags... > > I now get that an ID must be used only once on a page. Within div > tags (from code generously provided here) I've been able to format > specific bits of content, like text, using classes and <span> tags. > > But I'd like to ad a dotted line between to paragraphs, and that > seems to me to be a block-level tag required to do it. Is this correct?
Yes, but paragraphs are block-level elements, so simply give a class to one of the paragraphs to create that border. One thing you'll notice though, is that once you apply a border to a paragraph its margin will not collapse with the margin of its sibling (see "margin collapsing"). > Can I throw in a <br> and apply a border-bottom to that or is that > considered bad coding? Bad coding, yes :) -- Regards, Thierry www.tjkdesign.com | www.ez-css.org | @thierrykoblentz ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/