[l2h] Formating the HTML-Output with CSS
ross at ics.mq.edu.au
Tue Dec 30 09:14:14 CET 2003
On Tue, 30 Dec 2003, Hakan Kuecuekyilmaz wrote:
> I am trying to format the HTML output from l2h with CSS. But it is to
> difficult, because the output is somewhat mixed up.
> It would be very easy to format the output with CSS, when each logical
> part of the output would be in its own and not nested <div class="...">
> </div> pair like one div for the navigation with buttons, one div for
> text navigation, one div for the bottom navigation with buttons, one
> dive for the bottom navigation with buttons, and finally one div for the
> content itself.
Are you using either
> This would give the enduser an easy approach to design and layout the
> HTML-Output with CSS.
The current default is HTML version 3.2,
for which <div> and <span> were not yet valid tags.
If you request HTML version 4.x then many more <div> and <span> tags are
created, and it then becomes much easier to apply CSS styles.
You can edit the <document-name>.css file
-- this also works with HTML 3.2 --
^^^^^^---- stylesheet id
command, to add CSS specifications to the stylesheet
(provided you have deleted the previous one).
> <div class="top_nav_button">
> the buttons
> <div class="top_nav">
> the links
> <div class="content>
> the main output
> <div class="bot_nav">
> the bottom links
> <div class="bot_nav_button>
> the buttons on the bottom
> This is my third try for this feature-request.
I've not seen previous requests.
The ability to manipulate CSS has been part of LaTeX2HTML
for several years now. It is described in:
The LaTeX Web Companion (Addison-Wesley)
> Hakan Kuecuekyilmaz
> University of Applied Sciences Esslingen, Germany
Hope this helps,
> latex2html mailing list
> latex2html at tug.org
More information about the latex2html