On Sun, Jul 25, 2010 at 11:09 AM, John D <[email protected]> wrote:
> It works and I can live with it for now. I am restricted because of
> restrictions imposed by Google Sites. See my previous message.
> Thanks for the wonderful trick.
> Regards,
If you are trying to create a teaching situation with free websites
for the students would it not be somewhat satisfying to use a style
section in your html document embedded in the body?
Obviously this will not validate. But it does allow students to use
standard class and id definitions.
The transition from inline style to proper use of an external css
style sheet is not trivial. However, the transition from embedded
styles to external css style sheet might be an easy one.
Not sure precisely what you are trying to accomplish. But for a
teaching environment it might be better.
I don't use google pages so I don't know if they will accept a
<style></style> section.
<style type="text/css">
p.testfl:first-letter {
color:#ff0000;
font-size:xx-large;
margin-right: -6px;
}
</style>
<p class="testfl">This is a text.</p>
<p>This is more text</p>
Regards,
Claude Needham
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/