Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Cite Your Blockquotes

Reply
Thread Tools

Cite Your Blockquotes

 
 
kayodeok
Guest
Posts: n/a
 
      11-17-2003

http://www.simiandesign.com/blog-fu/...820.cfm#001820

uses the ":after" pseudo-element like so:

blockquote[cite]:after {
content: "Quote from: " attr(cite);
display: block;
border-top: 1px solid #999;
color: #999;
margin: 1em 0 0;
padding: .5em 0 0;
font-size: .8em;
font-weight: bold;
}


Unfortunately, it doesn't work in IE though there are Javascript work
arounds:
http://www.1976design.com/blog/archive/2003/11/10/46/

--
Kayode Okeyode
http://www.kayodeok.co.uk/weblog/
 
Reply With Quote
 
 
 
 
Jukka K. Korpela
Guest
Posts: n/a
 
      11-17-2003
kayodeok <> wrote:

> http://www.simiandesign.com/blog-fu/...820.cfm#001820
>
> uses the ":after" pseudo-element like so:
>
> blockquote[cite]:after { - -


That's an interesting idea, but maybe not _that_ great. First...

> Unfortunately, it doesn't work in IE


.... is not a negligible point. Second, it shows the _URL_ of the cited
resource, out of necessity, since the URL is what the cite attribute
contains. I think we should avoid making URLs visible and use titles or
names of documents instead.

Besides, it's actually easier to put the citation after the blockquote, as a
normal link as normal page content. There's hardly a reason to make its
appearance depend on CSS. More notes along these lines:
http://www.cs.tut.fi/~jkorpela/html/bq.html

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: [OT] How do I make a Google cite for a newsgroup thread? trippy Java 0 04-17-2006 01:38 AM
How To Connect Your PC to Your Home Stereo or Home Theater Silverstrand Front Page News 0 12-08-2005 01:29 PM
looking for paper to cite from Frederic Python 0 12-05-2005 08:20 PM
ZoneAlarm has detected a problem with your installation, and therefore has restricted Internet access from your machine for your protection. Don’t panic A Teuchter Computer Support 2 05-19-2005 09:20 PM
Trouble with a web cite. lizbill Computer Support 5 04-13-2004 06:49 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57