Ooops! Attached the wrong zip file. Here is the right one. To use it 
unzip it into your Users50/username/blahblahblah/chrome directory. Add a 
@import url(quoteHack.css); to the top of your userContent.css file in 
the same directory. If you don't have a userContent.css create one.

Basic LW

Basic (LW) wrote:

> Hi,
> I've a CSS hack that does something like what you suggest. Attached is a 
> screenshot and a zip file containing a css file and a png file. To use 
> it, I put the files in the zip in the same directory as the 
> userContent.css and added a @import url(quoteHack.css); to it. I've only 
> tested this on win32, might not work as well on other systems because of 
> font differences.
> 
> Basic LW
> 
> Dylan Schiemann wrote:
> 
>> Hi all,
>> 
>> I was just thinking about Daniel's comments and Stuart's reply, and it 
>> gave me
>> a few really rough ideas.  I could see a possibility of this working by
>> emulating the behavior for marker elements, with replaced content in 
>> either
>> the margin or padding. By default, you could have a repeat-x value for 
>> the
>> marker equal to the line height of the content contained inside.
>> 
> 
>> Another possibility would be to extend background to include text 
>> characters,
>> which could base their repeat-x value on the line-height of their 
>> container.
>> So the style for an element would be something like:
>> 
>> p{padding-left:1.5em;background: char(">") repeat-x;}
>> 
>> or, if margins could have their own background, it could be:
>> 
>> p{margin-left: 1.5em char(">") repeat-x;}
>> 
>> While this doesn't explicity "add" the content to the document, it 
>> could give
>> the desired view.
>> 
>> -Dylan Schiemann
>> http://www.dylanschiemann.com/
> 
> 
> 
> ------------------------------------------------------------------------
> 
> win32shot.png
> 
> Content-Type:
> 
> image/png
> Content-Encoding:
> 
> base64
> 
> 
> ------------------------------------------------------------------------
> quoteHack.zip
> 
> Content-Type:
> 
> application/x-zip-compressed
> Content-Encoding:
> 
> base64

quoteHack.zip

Reply via email to