• Posts
  • RSS
  • ◂◂RSS
  • Contact

  • Making things mobile friendly II

    November 30th, 2016
    tech  [html]
    When I got a phone and started caring about how things looked on mobile I only fixed some of the pages on my site: home page, blog post template, etc. I have various pages scattered around, however, that I never got around to fixing. Most of why I had been putting this off is that it seemed like a lot of finicky work, like updating the EA forum display was. Except all of these pages are just simple html with no css:

    <td> 18462
    <tr> 3244
    <li> 414
    <p> 87
    <br> 70
    <ul> 61
    <i> 51
    <head> 31
    <html> 31
    <th> 31
    <hr> 30
    <title> 29
    <small> 27
    <body> 24
    <blockquote> 13
    <b> 8
    <ol> 8
    <table> 7
    <sup> 6
    <strike> 5
    <code> 3
    <style> 3
    <big> 2
    <center> 2
    <tt> 2
    <em> 1
    <pre> 1
    <script> 1

    (Why so many table cells? This list includes my schedule and history which consist of huge tables. Only 5% of the table cells come from the rest of the pages.)

    These pages are basically already responsive, and all they needed was:

    <meta name="viewport"
          content="width=device-width, initial-scale=1.0">
    
    to tell mobile browsers not to try to display them like a desktop site.

    Comment via: google plus, facebook

    Recent posts on blogs I like:

    More on the Deutschlandtakt

    The Deutschlandtakt plans are out now. They cover investment through 2040, but even beforehand, there’s a plan for something like a national integrated timetable by 2030, with trains connecting the major cities every 30 minutes rather than hourly. But the…

    via Pedestrian Observations July 1, 2020

    How do cars fare in crash tests they're not specifically optimized for?

    Any time you have a benchmark that gets taken seriously, some people will start gaming the benchmark. Some famous examples in computing are the CPU benchmark specfp and video game benchmarks. With specfp, Sun managed to increase its score on 179.art (a su…

    via Posts on Dan Luu June 30, 2020

    Quick note on the name of this blog

    When I was 21 a friend introduced me to a volume of poems by the 14th-century Persian poet Hafiz, translated by Daniel Ladinsky. I loved them, and eventually named this blog for one of my favorite ones. At some point I read more and found that Ladinsky’s …

    via The whole sky June 21, 2020

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact