today | current | recent | random ... categories | search ... who ... syndication

Friday, August 29 2003

Beverley McLachlin : The Civilization of Difference

So a close examination of Canadas past can disclose both a strong foundation in the ethic of tolerance and inclusion, as well as the dark side of group belonging in the form of intolerant treatment. I want to explore both of these aspects of our heritage, in the hopes of ultimately demonstrating that, as Canada has matured and grown as a nation, we have embraced and cultivated the first of these traditions in order to do a better job of confronting the second we have learned to value and institutionalize the ethic of respect for difference as a means of combating exclusionary thinking.

refers to

meta

Montréal 2003, a city where to be a dépanneur

means to re-invent yourself as a fruiterie. These are not the Amélie Poulin moments you are looking for. The results, so far, have been mixed.
Laurier near St. Denis, Montréal, August 2003

meta

Why does the CSS first-letter selector only work with block elements?

I want to be able to do the following:




span.footnote { display:inline; }







span.footnote:before {



   content: "<footnote/>";



   margin-right:5px;



   margin-left:5px;



   font-family:monospace;



   color:brown;



}







span.footnote:hover:before {



   content: "<footnote>";



}







span.footnote > span.content {



   display:none;



}







span.footnote:hover > span.content {



   display: inline;



   font-family:monospace;



}







span.content:first-letter { 



 color:#fff; 



}







span.footnote > span.content:after {



   content: "</footnote>";



   margin-right:5px;



   margin-left:5px;



   font-family:monospace;



   color:brown;



}







<div>hello



 <span class = "footnote">



  <span class = "content">



  * This is the network of our disconnect.



  </span>



 </span>



world.</div>







Which should render like this in a CSS-enabled browser :

hello This is the network of our disconnect. world.

And like this in a text-browser:

hello * This is the network of our disconnect. world.

But it doesn't. Specifically, the leading asterix (which is included to denote a text as a footnote or afternote in user-agents that don't do formatting) is supposed to hidden by assigning it the same colour as the background.




span.content:first-letter {



 color:#fff;



}



If you're wondering why I didn't just define the :first-letter's display property as hidden it's not for lack of trying. Based on my experiments it simply doesn't work. Another mystery.

But it only works when the span.content element is displayed as a block. I want to display it inline for foofy design considerations, which since we're talking about CSS is as a good a reason as any.

Actually, I'd also like a last-letter or nth-letter selector so that I could wrap my footnotes in parentheses for text-browsers and then hide them when the CSS kung-fu enters the building.

refers to

meta

 
 
Thursday, August 28 2003 ←  → Saturday, August 30 2003