W3C home > Mailing lists > Public > www-amaya-doc@w3.org > May 2010

Re: Way to generate a CSS out of an existing document created in Amaya.

From: Jeff Hunt <jeffhunt90@gmail.com>
Date: Wed, 12 May 2010 18:47:23 +1200
Message-ID: <AANLkTilArHN2NUCrWFznfDtqzvZ40FTWZq512w-rDcaZ@mail.gmail.com>
To: Alma Hunt <ayesha.nk@gmail.com>
Cc: www-amaya-doc@w3.org
No, not as such but you can choose your style and write a css style
sheet from it as below. This is on
http://dnwfriends.nzl.org/amayaproject/tut2.html

The full story: -This is tricky but sums up what Amaya is about.
Return to it when you are ready.
To create an inline style, simply select the text or elements you wish
to style, then select Format->Style editor... (or click the CSS
toolbar button) and select your styles. Click Apply, and an inline
style will be created.
To create an internal style rule, first create an inline style as
described above. Then (with the text or elements still selected)
select Format->Create rule... and select the desired class or
pseudo-class from the list (or type your own CSS selector). Click
Confirm, and the inline style will be converted to an internal style
rule. You may now apply that style to other elements by selecting the
elements and applying the same class to the elements using Apply class
in your panel bar.
To create an external style sheet (the most powerful method), select
File->New->New style sheet... from the menu. Amaya helps you to create
styles as follows. Type the CSS selector and opening brace as
follows:p.mystyle {Then click the CSS toolbar button and select your
styles. The styles will be added to your style sheet when you click
Apply. You must still add the closing brace. } Create as many styles
as you want.
Now you must link the style sheet to your HTML or XHTML document. Save
the style sheet, and go to your HTML or XHTML document. Select
Format->Style sheets->Link..., and select your style sheet. The style
sheet is now linked, and classes defined in your CSS selectors will
appear in the list of classes under Apply class in the panel bar.
Applying the classes will cause the styles from your style sheet to be
applied.

Thanks to Keith Rubow for this.

I think this is as far as things have got. Anyone?

On 5/12/10, Alma Hunt <ayesha.nk@gmail.com> wrote:
>
> Folks,
>
> I have created an HTML page using Amaya 11.3 ver on Windows XP platform. Is
> it possible to generate/create a CSS out of the HTML page? If so, how?
>
> Thanks in advance.
> --
> View this message in context:
> http://old.nabble.com/Way-to-generate-a-CSS-out-of-an-existing-document--created-in-Amaya.-tp28532031p28532031.html
> Sent from the w3.org - www-amaya-doc mailing list archive at Nabble.com.
>
>
>
Received on Wednesday, 12 May 2010 06:47:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 12 May 2010 06:47:58 GMT