[2.8] Inline <style>?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[2.8] Inline <style>?

Boris Popov, DeepCove Labs (SNN)
Sigh, either I didn't have enough coffee this morning or it's simply not
there, but I can't seem to find how to inline styles with the new API,

<head>
 <style type="text/css">
  H1.myclass {border-width: 1; border: solid; text-align: center}
 </style>
</head>

Thanks,

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: [2.8] Inline <style>?

Boris Popov, DeepCove Labs (SNN)
Sigh, never mind,

root stylesheet add: 'h1.myclass {border-width: 1;}'

I'm not sure what I would suggest as a replacement, but this was
somewhat non-obvious for me to find.

Thanks!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: [hidden email] [mailto:seaside-
> [hidden email]] On Behalf Of Boris Popov
> Sent: Tuesday, July 17, 2007 10:51 AM
> To: Seaside - general discussion
> Subject: [Seaside] [2.8] Inline <style>?
>
> Sigh, either I didn't have enough coffee this morning or it's simply
not

> there, but I can't seem to find how to inline styles with the new API,
>
> <head>
>  <style type="text/css">
>   H1.myclass {border-width: 1; border: solid; text-align: center}
>  </style>
> </head>
>
> Thanks,
>
> -Boris
>
> --
> +1.604.689.0322
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
> http://tinyurl.com/r7uw4
>
> [hidden email]
>
> CONFIDENTIALITY NOTICE
>
> This email is intended only for the persons named in the message
> header. Unless otherwise indicated, it contains information that is
> private and confidential. If you have received it in error, please
> notify the sender and delete the entire message including any
> attachments.
>
> Thank you.
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: [2.8] Inline <style>?

Boris Popov, DeepCove Labs (SNN)
Sigh, not so fast. I needed to add WAStyleElement along the side of
WAScriptElement and WALinkElement for this to work. See attached
file-outs to enable the following,

root style add: 'p { color: red }'.

Thanks,

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: Boris Popov
> Sent: Tuesday, July 17, 2007 10:54 AM
> To: 'Seaside - general discussion'
> Subject: RE: [Seaside] [2.8] Inline <style>?
>
> Sigh, never mind,
>
> root stylesheet add: 'h1.myclass {border-width: 1;}'
>
> I'm not sure what I would suggest as a replacement, but this was
somewhat

> non-obvious for me to find.
>
> Thanks!
>
> -Boris
>
> --
> +1.604.689.0322
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
> http://tinyurl.com/r7uw4
>
> [hidden email]
>
> CONFIDENTIALITY NOTICE
>
> This email is intended only for the persons named in the message
> header. Unless otherwise indicated, it contains information that is
> private and confidential. If you have received it in error, please
> notify the sender and delete the entire message including any
> attachments.
>
> Thank you.
>
> > -----Original Message-----
> > From: [hidden email] [mailto:seaside-
> > [hidden email]] On Behalf Of Boris Popov
> > Sent: Tuesday, July 17, 2007 10:51 AM
> > To: Seaside - general discussion
> > Subject: [Seaside] [2.8] Inline <style>?
> >
> > Sigh, either I didn't have enough coffee this morning or it's simply
not
> > there, but I can't seem to find how to inline styles with the new
API,

> >
> > <head>
> >  <style type="text/css">
> >   H1.myclass {border-width: 1; border: solid; text-align: center}
> >  </style>
> > </head>
> >
> > Thanks,
> >
> > -Boris
> >
> > --
> > +1.604.689.0322
> > DeepCove Labs Ltd.
> > 4th floor 595 Howe Street
> > Vancouver, Canada V6C 2T5
> > http://tinyurl.com/r7uw4
> >
> > [hidden email]
> >
> > CONFIDENTIALITY NOTICE
> >
> > This email is intended only for the persons named in the message
> > header. Unless otherwise indicated, it contains information that is
> > private and confidential. If you have received it in error, please
> > notify the sender and delete the entire message including any
> > attachments.
> >
> > Thank you.
> >
> > _______________________________________________
> > Seaside mailing list
> > [hidden email]
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

WAStyleElement.st (826 bytes) Download Attachment
WAHtmlRoot-style.st (322 bytes) Download Attachment