- From: Irene VATTON <Irene.Vatton@imag.fr>
- Date: Tue, 27 Aug 1996 10:48:34 +0200
- To: Arnt Gulbrandsen <agulbra@troll.no>
- cc: www-amaya@w3.org
In-reply-to: Your message of Sat, 24 Aug 1996 19:26:12 +0200." <96Aug24.192622+0100met_dst.13983-6516+119@lupinella.troll.no> > At present, Amaya renders text inside <a name> light green, and if > there is no text, it seems to reserve a little space. Yes. Amaya is an editor and have to show target anchors (light green) and reserve space for any empty element. When an empty element (anchor in your case) exits, Amaya has to allow author to select it: - to insert text within, - to delete it - to choose this empty anchor as the target of a link. The better way to do that is to reserve space, even if the anchor is empty. > > For a WYSIWYG program, this is wrong. It makes WYS noticeably > different from WYG, since other browsers don't reserve any space at > all for just <a name="asdf"></a>. For a good example, look at > http://www.troll.no/qt/forever-forever-cpp.html with amaya and either > netscape, mosaic, arena or whatever: Amaya breaks the <pre> > indentation. > > I think it would be better if Amaya were to use a single-pixel > vertical line to render an <a name> containing no text. Your example is: #include <<a name="qlabel.h"></a><a href="qlabel-h.html">qlabel.h</a>> Why you don't add the name attribute to the not empty href anchor: #include <<a name="qlabel.h" href="qlabel-h.html">qlabel.h</a>> It is the better way to have what you want "at the same place a target and a link". > > This naturally suggests that it should use a single-pixel rectangle > around <a name> tags containing text, and I think that's > better. People can create green text in HTML content (*sigh*) but they > can't put rectangles around their text, so there's less chance of > confusion. But CSS allows users to put rectangles around text and Amaya supports CSS. The solution should be to have two modes for Amaya: a browser mode and an editor mode. But I am not sure, it is a better solution. Personally, I don't like modes. > > I am not on this list, so please Cc any replies to me. > > --Arnt Irene. ---------------------------------------------------------------------- Irène Vatton e-mail: Irene.Vatton@imag.fr Tel: (33)76.61.53.61 Fax: (33)76.61.52.52 INRIA Rhône-Alpes ZIRST - 655 avenue de l'Europe 38330 MONTBONNOT SAINT MARTIN
Received on Tuesday, 27 August 1996 10:41:35 UTC