Re: [css-d] Can't put #8220; in a blockquote?

2008-11-24 Thread David Hucklesby
On Mon, 24 Nov 2008 01:02:22 +, Benjamin Hawkes-Lewis wrote:
 Peter Hyde-Smith wrote:
 Will someone please enlighten me regarding whether different browsers render 
 the
 blockquote differently. Do some actually add in the quote marks;


 No, none do.

 In HTML4 browsers are supposed to add quotation marks for Q (inline 
 quotations) not
 BLOCKQUOTE (quotations containing blocks). Most modern browsers, including 
 IE8 Beta 2
 but not including IE6 and IE7, add such marks to Q. But you'd likely want to 
 adjust
 which marks with CSS.


Good thinking.

I'm working on a new site, and use scripting to add quote marks to Q
for IE 5-7. As beloved list mom Eric says, JavaScript will save us all.

 http://meyerweb.com/eric/thoughts/2008/10/22/javascript-will-save-us-all/

FWIW - If you use UTF-8 throughout your development cycle, you don't
need to use those ugly HTML entities. Kinder to your spell checker, too!

Cordially,
David
--

__
css-discuss [EMAIL PROTECTED]
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/


[css-d] Can't put #8220; in a blockquote?

2008-11-23 Thread Peter Bradley
I have some HTML that looks like this:

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;

html xmlns=http://www.w3.org/1999/xhtml;
head
meta http-equiv=content-type content=text/html;
charset=utf-8 /
titleSpanish Intensive - Feedback/title
!-- stylesheet reference goes here --
link rel=stylesheet type=text/css
href=styles/spanishIntensives.css /
!--[if lt IE 7]
style
/* for IE/6 - to prevent double-spacing of leftnav list items*/
#leftnav ul li a {  
height : 0;
}
#leftnav {
margin-top: 2em;
}
/style
![endif]--
/head
body
div id=header
img id=logo src=images/Logo-SI-BIG4b.jpg alt=Spanish
Intensives logo title=Spanish Intensives /
/div
div id=main
h1
 Feedback
/h1
h4
 Here are some comments from students who took our
courses in previous years:
/h4
img class=imgright src=images/Grupo-2-1.jpg
alt=Students and teachers title=Students and teachers from a previous
course by the entrance tot he Residencia /
blockquote
 #8220;I found the teaching of exceptionally high
standard.#8221;
/blockquote
blockquote
 #8220;All sessions focussed and engaging, and good
fun.#8221;
/blockquote

... and so on for 36 quotes.

When I try to validate the page, I get the following error for each
blockquote:



/Line x, Column y/: character data is not allowed here.

| #8220*;*some quoted text.#82|

You have used character data somewhere it is not permitted to appear.
Mistakes that can cause this error include:

* putting text directly in the body of the document without wrapping
  it in a container element (such as a paragraph/p), or
* forgetting to quote an attribute value (where characters such as
  % and / are common, but cannot appear without surrounding
  quotes), or
* using XHTML-style self-closing tags (such as meta ... /) in HTML
  4.01 or earlier. To fix, remove the extra slash ('/') character.
  For more information about the reasons for this, see Empty
  elements in SGML, HTML, XML, and XHTML
  http://www.cs.tut.fi/%7Ejkorpela/html/empty.html.

=

I don't understand why that is an error.  Isn't a blockquote a
container just like a p is?  Or am I missing something really simple
(again).

Cheers


Peter

__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] Can't put #8220; in a blockquote?

2008-11-23 Thread Peter Bradley
Ysgrifennodd Peter Hyde-Smith:
 Peter:

 You may need to wrap each block in a p.../p or div ... /div,
 blockquote
 p#8220;I found the teaching of exceptionally high standard.#8221;/p
 /blockquote

 Try that, and post a link if you can.

 Regards,

 Peter

Neither of those seem to work, either.

I've posted the page to:

http://www.apvx95.dsl.pipex.com/SpanishIntensives/feedback.html

You'll see that the first blockquote is contained in a p/p block
and the second in a div/div block.

Cheers


Peter

__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] Can't put #8220; in a blockquote?

2008-11-23 Thread Benjamin Hawkes-Lewis
Peter Bradley wrote:
 Neither of those seem to work, either.
 
 I've posted the page to:
 
 http://www.apvx95.dsl.pipex.com/SpanishIntensives/feedback.html
 
 You'll see that the first blockquote is contained in a p/p block
 and the second in a div/div block.

You've got this the wrong way round. The other Peter was saying that the 
contents of the blockquote need to be wrapped in one or more block 
elements (such as p or div or ul) in XHTML 1.0 Strict. Your code, on the 
other hand, wraps the blockquote itself in a block element.

--
Benjamin Hawkes-Lewis
__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] Can't put #8220; in a blockquote?

2008-11-23 Thread Bill Brown
Peter Bradley wrote:
 Ysgrifennodd Peter Hyde-Smith:
 Peter:
 You may need to wrap each block in a p.../p or div ... /div,
 blockquote
 p#8220;I found the teaching of exceptionally high standard.#8221;/p
 /blockquote

 Neither of those seem to work, either.
 I've posted the page to:
 http://www.apvx95.dsl.pipex.com/SpanishIntensives/feedback.html
 You'll see that the first blockquote is contained in a p/p block
 and the second in a div/div block.

Peter,

You've reversed Peter's instructions:
This is wrong:
pblockquote/blockquote/p
This is correct:
blockquotep/p/blockquote

If you apply Peter's direction, I think you'll find greater success.
Hope it helps.
--Bill

-- 
!--
  ! Bill Brown - [EMAIL PROTECTED] - 484-809-8077
  ! WebDevelopedia.com, TheHolierGrail, MacNimble.com
  ! 24 Countryside Drive, Johnston, RI 02919
--
__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] Can't put #8220; in a blockquote?

2008-11-23 Thread Peter Bradley
Ysgrifennodd Bill Brown:
 You've reversed Peter's instructions:
 This is wrong:
 pblockquote/blockquote/p
 This is correct:
 blockquotep/p/blockquote

 If you apply Peter's direction, I think you'll find greater success.
 Hope it helps.
 --Bill


D'Oh!

Thanks to Peter, Benjamin and yourself.  English never was my strong point.

Cheers


Peter

__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] Can't put #8220; in a blockquote?

2008-11-23 Thread Bill Brown
Peter Bradley wrote:
 Thanks to Peter, Benjamin and yourself.  English never was my strong point.
 Cheers
 Peter

No worries, mate.
Here in America, the same can be said of about 90% of the 
population...and about me before my morning coffee. Glad it helped.

Stay well.
--Bill
__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] Can't put #8220; in a blockquote?

2008-11-23 Thread wlb
HI Peter,
I've been struggling with archiving lots of materials to PDF recently, and
the curly quotes get changed to straight ones consistently in the OCR—quite
maddening—so I sympathize with your plight about these small but important
details.

What you are doing looked correct to me, so I decided to do an experiment
and and made a very simple page using #8220; and #8221; entities for the
quotation marks within blockquote tags.

http://www.boletta.com/blockquote/

The HTML and CSS on my page both validate. i wonder why. I can't see any
difference between what you are doing and what my HTML does. Maybe someone
else can catch something and will tell us what is going on.

Bill Boletta
__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] Can't put #8220; in a blockquote?

2008-11-23 Thread Benjamin Hawkes-Lewis
wlb wrote:
 The HTML and CSS on my page both validate. i wonder why. I can't see any
 difference between what you are doing and what my HTML does.

Did you read the other replies to Peter's query? I think they answer yours.

--
Benjamin Hawkes-Lewis

__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] Can't put #8220; in a blockquote?

2008-11-23 Thread Peter Hyde-Smith

- Original Message - 
From: Benjamin Hawkes-Lewis [EMAIL PROTECTED]
To: wlb [EMAIL PROTECTED]
Cc: css-d@lists.css-discuss.org; [EMAIL PROTECTED]
Sent: Sunday, November 23, 2008 5:33 PM
Subject: Re: [css-d] Can't put #8220; in a blockquote?


 wlb wrote:
 The HTML and CSS on my page both validate. i wonder why. I can't see any
 difference between what you are doing and what my HTML does.

 Did you read the other replies to Peter's query? I think they answer 
 yours.

 Benjamin Hawkes-Lewis


And Peter Bradley fixed his code so it validates.

Will someone please enlighten me regarding whether different browsers render 
the blockquote differently. Do some actually add in the quote marks; so if 
#8220;/#8221; entities are added, the result is a double set of quotes?

Thanks,

Peter
www.fatpawdesign.com
developing in: WinXP/SP2 + FF3.0.3 at 1024x768 and 1280x1024
checking in: IE8.0beta/O9.61/Av11.6/Cr0.2/Orca1.1
In God we trust, all else bring data... 

__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] Can't put #8220; in a blockquote?

2008-11-23 Thread Benjamin Hawkes-Lewis
Peter Hyde-Smith wrote:
 Will someone please enlighten me regarding whether different browsers 
 render the blockquote differently. Do some actually add in the quote 
 marks;

No, none do.

In HTML4 browsers are supposed to add quotation marks for Q (inline 
quotations) not BLOCKQUOTE (quotations containing blocks). Most modern 
browsers, including IE8 Beta 2 but not including IE6 and IE7, add such 
marks to Q. But you'd likely want to adjust which marks with CSS.

--
Benjamin Hawkes-Lewis
__
css-discuss [EMAIL PROTECTED]
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/