On Sep 3, 5:36 pm, Hari Krishna Dara <[email protected]> wrote:
> > Secondly, I was under the impression that wrapping didn't happen
> > inside <pre> sections, which 2html uses by default. If this is not the
> > case, try using the 'overflow' CSS
> > property:http://www.w3.org/TR/CSS2/visufx.html#overflow
>
> I didn't notice any <pre> tags in the generated html, but adding them
> makes the rendering odd with too much spacing everywhere.
If you don't enable css, the pre tags are turned off automatically
because <font> is not allowed inside <pre> sections. Otherwise, you
need to opt out of pre. Make sure you are not opting out with
g:html_no_pre, and that you DO have css enabled with g:html_use_css.
> I tried the
> <div style="overflow: <value>"> inside <td> with all possible options
> and none of them prevented the wrapping. In fact, with "scroll", I got
> scrollbars added inside the columns, but the lines were wrapped
> anyway.
>
Maybe in combination with a <pre> section this will work better.
There's also "whitespace: nowrap;" but I can't recall ever using that
so I don't know how well it will work, especially in old browsers
still in common use.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---