This has been covered in previous posts. You can read them here:
http://dynapi.sourceforge.net/dynapi/content.php?page_id=12#12
You can find a working example here:
http://sandymermaid.com/graphics/css_example.html
"One example is worth a thousand explanations"
Glen
----- Original Message -----
From: "Francisco M. Marzoa Alonso" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 10:04 AM
Subject: [Dynapi-Help] CSS & DynLayer Incompatibilities?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there, I've known about DynLayer just this morning and I'm having some
troubles here with it.
The package that I've downloaded and installed is this one:
dynapi-2001-01-25.zip
The trouble is that in a page in which i've defined a style for body as
follows:
<STYLE TYPE="text/css">
<!--
BODY { background:white;
font-family: helvetica;
font-size: 12pt;
margin-left: 0px;
margin-right: 0px;
margin-top:0px;}
P {font-weight: normal; }
P.versalita {font-family: helvetica; font-weight: bold;
font-variant: small-caps; }
-->
</STYLE>
And then generate a layer with DynAPI functions as follows:
text_upper.setHTML ('<P>La ventaja competitiva más importante de las
organizaciones empresariales del \
tercer milenio que se
enfrentan a retos más complejos, mercados más globales y \
nuevas tecnologías, reside
en
el equipo humano del que dispone.</P> \
<P>Nuestra estrategia
empresarial, por muy bien diseñada que esté, no podrá ser \
eficaz si se lleva a cabo
sin
una correcta búsqueda y selección del adecuado \
equipo humano.</P> \
<P>Nuestros profesionales
poseen una sólida experiencia y un profundo conocimiento \
en las áreas de captación,
selección y evaluación de perfiles como:</P>');
(Please, excuse possible \n destructions by e-mail client...)
But those paragraphs doesn't are rendered following the Style Sheet rules :/
No matter if I define STYLE before or after the layer.
How can I force those paragraphs to use the style that i've defined?
(Obviusly, I meant a manner to do it without having to redefine the style in
each paragraph...)
Thanks in advance,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjq6FJoACgkQdcZSl+4pW275JACfQ+fwNdV9lCOCLe7ISRLaKmO4
ZzYAnivMjtGTObC1Zim4S5UI5eQV86Ak
=rWun
-----END PGP SIGNATURE-----
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help