[Slackbuilds-users] Suggestion: monospace font for README

Jeremy Hansen jebrhansen+SBo at gmail.com
Sun Nov 6 23:33:06 UTC 2016


Yeah, it just covers any browsers that might not (which probably wouldn't
be frequently used by Slackware users).

On Sun, Nov 6, 2016, 6:14 PM Ryan P.C. McQuen <ryan.q at linux.com> wrote:

> On Sun, Nov 6, 2016 at 2:48 PM Jeremy Hansen jebrhansen+SBo at gmail.com
> <http://mailto:jebrhansen+SBo@gmail.com> wrote:
>
> You could also just use some CSS and have browsers wrap the text. Seems
> much easier than editing a ton of READMES...
>
> pre {
> white-space: pre-wrap;       /* css-3 */
> white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
> white-space: -pre-wrap;      /* Opera 4-6 */
> white-space: -o-pre-wrap;    /* Opera 7 */
> word-wrap: break-word;       /* Internet Explorer 5.5+ */
> }
>
> http://stackoverflow.com/questions/248011/how-do-i-wrap-text-in-a-pre-tag
>
> Any reasonably modern browser will not need a prefix, meaning you could
> simplify the CSS to:
>
> pre {
>   white-space: pre-wrap;}
>
>
> https://developer.mozilla.org/en-US/docs/Web/CSS/white-space#Browser_compatibility
>> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20161106/1412b289/attachment-0001.html>


More information about the SlackBuilds-users mailing list