W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2012

Re: Howto appy a style to an element without generating a span ?

From: Christian Ræbild <craebild@parknet.dk>
Date: Sun, 16 Dec 2012 22:45:45 +0100
Message-ID: <50CE4109.8050202@parknet.dk>
To: "www-amaya@w3.org" <www-amaya@w3.org>
Hi Antoine,

I think your problem is that you are selecting the text in the element 
rather than the element.

To select the element you place the cursor in the element and press F2, 
then the style is applied to the element without creating a span when 
you apply it from the style menu.

If you need to select a higher order element, such as a div rather than 
one of the paragraphs in the div, then you press F2 until the correct 
element is selected - You can see in the bottom of the window which kind 
of element is selected.

I am using Amaya 11.4.4 on Windows 7 Pro 64 bit, hopefully it behaves 
the same on Ubuntu 12 LTS.

I hope that solves your problem.

Med venlig hilsen / Best regards / Mit freundlichen Grüßen
Christian Ræbild / Christian Raebild

On 16-12-2012 19:56, HiddenId wrote:
> Hi all,
>
> I've read the doc located here: 
> http://www.w3.org/Amaya/User/doc/StyleSheets.html
> I try to apply a style to an element without creating a span.
> I try ... but without success, even if I try to follow the howto.
> It must be very simple, but how ?
>
>   * selecting a text in formated view, then style: it creates a span
>   * selecting a text in source view: style menu is not available
>
> Using Amaya 11.4.4 on Ubuntu 12 LTS
>
> Antoine
Received on Sunday, 16 December 2012 21:46:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:43 UTC