- From: Alma Hunt <ayesha.nk@gmail.com>
- Date: Wed, 12 May 2010 03:09:24 -0700 (PDT)
- To: www-amaya-doc@w3.org
Thanks Jeff. This information was very helpful. Jeff Hunt-5 wrote: > > 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. >> >> >> > > > -- View this message in context: http://old.nabble.com/Way-to-generate-a-CSS-out-of-an-existing-document--created-in-Amaya.-tp28532031p28534061.html Sent from the w3.org - www-amaya-doc mailing list archive at Nabble.com.
Received on Wednesday, 12 May 2010 10:09:56 UTC