TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: HELP - css problems! From:Arlen -dot- P -dot- Walker -at- jci -dot- com To:"TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com> Date:Mon, 24 Jan 2000 13:27:16 -0600
>I've been told that I can add copyright information to my cascading style
sheet
>but I'm not sure how to do this. So far I've added the P tag to the .css
and
>the formatting is correct but how do tell the .css to display the
copyright
>line? This is what I've done.
Actually, Michelle, I'm getting confused, here. Just what is the desired
effect? A copyright statement as a comment in the CSS file, or a piece of
boilerplate displaying a copyright notice on each web page using the
particular CSS file?
I'm open to correction on this, but I don't think there's anything at all
you can put into a CSS file which will actually be displayed by many
browsers. There's the "content" property to the "before" and "after"
pseudo-elements, supported by very few browsers, which would work rather
like this:
body:after {content: "My Copyright notice: This is mine, mine, mine, and
you can't have it 'cause it's mine!"}
which would have the effect of placing that notice after the body section
of every page using that CSS file, in those few browsers that supported it.
Everyone else would remain blissfully unaware of the notice.
FWIW, I haven't found a browser version that supports this, but perhaps
there's one out there -- I'll admit to not doing exhaustive testing on
this. Once I discovered that Explorer 4.5 and Netscape 4.08 didn't support
it, I didn't figure there was much point going on with the test.
Have fun,
Arlen
Chief Managing Director In Charge, Department of Redundancy Department
DNRC 224
Arlen -dot- P -dot- Walker -at- JCI -dot- Com
----------------------------------------------
In God we trust; all others must provide data.
----------------------------------------------
Opinions expressed are mine and mine alone.
If JCI had an opinion on this, they'd hire someone else to deliver it.