Posts

responsive site: img style

Q: For websites with responsive designs/templates, how do you keep small images from being distorted (in other words, enlarged and pixelated = ugly) on smartphone screens? A: The simple solution is to set the width within the IMG style tag. For example: Your image is 150px-wide. To lock it at 150px (the upper limit should be the image's actual width so it will still look nice), use: <img alt="#" src="#" style="width: 150px;"> Up Next: How to center (awkward... verb) an image when the <div> or <p> elements don't work. These alignment tips from w3.org clearly explains it all. It says CSS but we can use the style code within the body's html source which sort of trumps the CSS (if you're using a template) so we can still make style changes per page. OK, here's the fix: <img src="#" alt="#" style="display:block; margin-left:auto; margin-right:auto; width:#px;"> On a responsiv

coffee, origami

There is a shortage of Great Taste 3-in-1 sugar-free coffee around here! It rained today. The envelope fund/budget system + my origami envelopes from used paper = XD

wasted ink

Have been posting less frequently over the years. There are no new experiences to write about - good or bad (though I prefer the good). I did get extremely annoyed that someone went through a cartridge of printer ink in one week. The ink is not cheap and I would rather they economize and go outside to make photocopies instead of printing several copies in one go. When it was my turn to print something, the output was horrible and the low ink levels sign was in my face. I only print one two-page document a month, I expect everything is fine when I do.

red kimono takeout

Image
2/18/2015 takeout food from red kimono (glorietta, makati). salmon, tofu, sauce, sesame seeds and rice. hindi japanese rice ang ginamit. tuyo yung kanin, nahirapan tuloy akong i-chopsticks. kumakalat. :/ salmon and tofu bowl take-out from red kimono

evernote naman

Upset that the mobile web version of Evernote stopped working for me this week. After signing in, it does not adjust to my screen properly. And to log-out, I have to manually type "/Logout.action" pa. Hay, sayang.

origami ko

Image
It started a few days ago. Folded me an origami box or "origami garbage bin." Before you puff it open, it's a pretty sturdy pouch. Still hooked. Moved on to envelopes. From today... Creative way to recycle paper. Potentially addictive.