Evan Martin (evan) wrote in evan_tech,
Evan Martin

max-width user css

I run my browsers wide (full-screen, actually -- tiling window manager and all). Most sites continue to work fine like this. Some, like Wikipedia and LiveJournal, make the text as wide as the window, resulting in unreadably wide lines. I had been just dealing with this for years when I realized some simple user CSS would help:
$ cat .config/google-chrome/Default/User\ StyleSheets/Custom.css 
p, td, li {
  max-width: 50em;
(For some reason you have to run Chrome with --enable-user-stylesheet for that to work. Other browsers have similar mechanisms.)

  • blog moved

    As described elsewhere, I've quit LiveJournal. If you're interested in my continuing posts, you should look at one of these (each contains feed…

  • dremel

    They published a paper on Dremel, my favorite previously-unpublished tool from the Google toolchest. Greg Linden discusses it: "[...] it is capable…

  • treemaps

    I finally wrote up my recent adventures in treemapping, complete with nifty clickable visualizations.

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.