On Thu, Nov 18, 2010 at 2:34 PM, John <j...@coffeeonmars.com> wrote:

> 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?
>
> Can I throw in a <br> and apply a border-bottom to that or is that
> considered bad coding?

A paragraph *is* a block-level element. Why not throw in some
padding-bottom and apply a dotted border-bottom to that? You can add a
class of 'last' to the last paragraph to override the border.

Beth
______________________________________________________________________
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/

Reply via email to