how to seperate paragraphs in a blockquote

Discussion in 'HTML & Website Design' started by driven, Jun 28, 2007.

  1. #1
    I'm trying to have 2 paragraphs in a blockquote.

    So my code looks like this;

    <p id="blockquote">The topic of communication has always fascinated me. I studied, researched and even wrote a book about dealing with difficult people. 
    <br />
    Some of America’s most recognized relationship experts such as...
    <br /></p>
    Code (markup):
    But the line breaks aren't occuring at all and it's just one paragraph as opposed to two.

    How do I fix this? Any help is appreciated.
     
    driven, Jun 28, 2007 IP
  2. ninjamuk

    ninjamuk Peon

    Messages:
    305
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Break it twice. Currently, all you're doing is breaking the text into two lines... one directly under the other.

    If you add another break before "Some of America's..." it should work fine.
     
    ninjamuk, Jun 28, 2007 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #3
    Uhm, where to begin...

    Here's a crazy idea, instead of wasting an id or class, just use a BLOCKQUOTE tag? Maybe actually mark each of your paragraphs as paragraphs instead of using double breaks?

    <blockquote>
    	<p>
    		The topic of communication has always fascinated me. I studied, 
    		researched and even wrote a book about dealing with difficult people. 
    	</p><p>
    		Some of America’s most recognized relationship experts such as...
    	</p>
    </blockquote>
    Code (markup):
    These days if you are using a double break - much like spacer .gif's and FONT tags, you are probably doing something wrong...

    Of course, if you need the ID because you are manipulating it via javascript, put the id on the blockquote... instead of shoehorning a paragraph tag into something it's not.
     
    deathshadow, Jun 28, 2007 IP