quotation marks in blockquote (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


d a v e -> quotation marks in blockquote (9/3/2006 16:36:31)

according to the html 4 specs i'm supposed to: (from here http://www.w3.org/TR/html401/struct/text.html#edef-BLOCKQUOTE )

"Note. We recommend that style sheet implementations provide a mechanism for inserting quotation marks before and after a quotation delimited by BLOCKQUOTE in a manner appropriate to the current language context and the degree of nesting of quotations."


er how??


oops jumped the gun a bit there:
found the answer:

blockquote p:before { content: open-quote;}
blockquote p:after { content: close-quote;}




jaybee -> RE: quotation marks in blockquote (9/3/2006 16:45:14)

Careful, check before and after in IE6.




d a v e -> RE: quotation marks in blockquote (9/3/2006 16:50:54)

well of course i didn't expect it to be supported in IE!

if i put them in it flags them up as mistakes and of course it supposed to be indicated by the browser...
i have specified a different colour for blockquotes so at least in IE it looks different. sh*T, not sure what to do now :(
i bet most of the intended audience is on IE too (as is the client)




jaybee -> RE: quotation marks in blockquote (9/3/2006 17:10:51)

Well I would say wait for IE7 but apparently they haven't fixed it in that either.

Are these static blockquotes? Can you just type " front and back?


If not then you could try this
http://dean.edwards.name/IE7/
sometimes you just gotta hack. [&o]




d a v e -> RE: quotation marks in blockquote (9/3/2006 17:20:34)

could do but then it won't validate, which is obvisously less of a problem than not seeing them in IE.

not sure then but i think i get two sets of quotes in firefox like so ""blockquote"".




jaybee -> RE: quotation marks in blockquote (9/3/2006 17:28:19)

That figures.

Go for the hack. I've had to bite the bullet and stick one in some code today to get round IE6 ignoring max-width. That one is fixed in IE7 but as IE7 only works in XP, all those still using Win 2K, 98, ME and 95 can't upgrade so I gave in.




jaybee -> RE: quotation marks in blockquote (9/3/2006 17:34:30)

STOP! Had a better idea, don't know why I didn't think of it before, I used it on a site ages ago.

Do a background image for the blockquote with some graphic stylised quotation marks.

[image]local://upfiles/9075/EB5F18D58B5A41D6A9545C94788BADC7.gif[/image]




Nicole -> RE: quotation marks in blockquote (9/3/2006 18:31:44)

Gosh Jaybee...

I was looking for large quote images to put around the testimonials on my site back when I was doing it. Never did find any, or just forgot!

Thanks for that!

Nicole




jaybee -> RE: quotation marks in blockquote (9/3/2006 18:36:08)

Strangely enough there are picture tubes for making quotes of different shapes and sizes in PSP. [;)]




Tailslide -> RE: quotation marks in blockquote (9/4/2006 3:17:17)

That's what I use on my homepage - quotemarks attached to both the blockquote and the cite to do both start and end ones - This was the method that made all the accessibility types like Mike happy.




d a v e -> RE: quotation marks in blockquote (9/4/2006 9:39:31)

that's exactly what i did have but the client didn't like them :(




jaybee -> RE: quotation marks in blockquote (9/4/2006 12:08:57)

Well try slapping the client round the ear with some wet celery!

It doesn't have to be a pic like that, you could make a pic of

"

and just position the text carefully.




jaybee -> RE: quotation marks in blockquote (9/4/2006 12:10:57)

Oh and Nicole, if you can't find tubes for your graphics package just use text with a thick coloured line, type 66 or 99 in a suitable font, then fill in the holes.

[edit] how very odd, all the Google Ads at the top of the page were in Japanese!. [&:] Gone now.




jaybee -> RE: quotation marks in blockquote (9/4/2006 16:17:17)

Just found this...... [:D]





Nicole -> RE: quotation marks in blockquote (9/4/2006 19:09:03)

I couldn't find many Jaybee, and think I'll use your 66 and 99 idea. Brilliant idea!!!

Thanks




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625