[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev documentation for styles?
From: |
Vlad Harchev |
Subject: |
Re: lynx-dev documentation for styles? |
Date: |
Sat, 24 Feb 2001 12:58:03 +0400 (SAMT) |
On Fri, 23 Feb 2001, Ilya Zakharevich wrote:
Hello Ilya,
Most entries in lss files directly correspond to html tags (i.e. "li" is a
style for text containing inside "<li></li>"). Also, it's possible to specify
style for class-extended attribute name, e.g. "span.foo" is a style used
for displaying text inside
<span class=foo></span>
There are very few styles that doesn't directly correspond to html tags that
were supported before you started hacking lynx - all of them are IMO
briefly documented in ./samples/lynx.lss.
It's only you who added special styles that were totally undocumented IMO. So
please documented all styles that you added while you are in :)
I think there is no need to document styles directly corresponding to html
tags - just state "for each html tag there is a lss style named after it -
see W3C html spec for a list of html tags".
Just a hint: when you'll be writing documentation, don't use tables, but use
<dl><dt><dd> - lynx displays them in more reasonable way, example:
<dl>
.....
<dt>foo1</dt><dd>description of foo1</dd>
<dt>foo2</dt><dd>description of foo2</dd>
<dt>foo3</dt><dd>description of foo3</dd>
....
</dl>
Feel free to ask any questions.
Best regards,
-Vlad
> Can someone who knows LSS write an HTML document which exhibits all
> the entries in the standard lynx.lss? Like (I do not know HTML, so be
> lenient with me):
>
> <tr>
> <td> <code> bold </code> </td> <td> <b>text in bold<\b> <\td>
> </tr>
>
> etc? Then I may try to add explanations for the newer stuff I added.
>
> Ilya
>
> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden
>
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden