Angus Leeming wrote:
Eric Niebler wrote:
http://zigzag.lvk.cs.msu.su/~ghost/boost_docs/

I tried it with the text-only browser lynx. In general all looks perfectly readable, but I do notice one strangeness: snippets of code which should have a larger left margin than the text actually have no left margin at all. Eg: $ lynx http://zigzag.lvk.cs.msu.su/~ghost/boost_docs/program_options.tutorial.html#id500628

Cut and paste from that page gives a fair view of how it is rendered by
lynx:

Getting Started

   The  first  example  is  the  simplest  possible:  it only handles two
   options.   Here's   the   source   code   (the   full  program  is  in
   "example/first.cpp"):
// Declare the supported options.
po::options_description desc("Allowed options");
desc.add_options()
    ("help", "produce help message")
    ("compression", po::value<int>(), "set compression level")
;

This isn't a problem of your new stylesheet in particular. The same
behaviour is found when using the .css file in boost cvs. However, it
would be nice if this could be improved.



Is anybody here familiar with lynx and can tell me why this is happening? The code samples are in programlisting sections, and the CSS gives those a margin. Is lynx not paying attention to the CSS at all? How does one design a web page so that different elements have different margins in lynx?


-- Eric Niebler Boost Consulting www.boost-consulting.com


------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Boost-docs mailing list [EMAIL PROTECTED] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to