MoonPoint Support Logo

 


Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
November
Sun Mon Tue Wed Thu Fri Sat
 
17
       
2021
Months
NovDec


Wed, Nov 17, 2021 9:56 pm

Automatically resizing an image for mobile devices

I created this domain in April of 1997, a time when mobile device usage was not common. HTML 3 was the version of the HyperText Markup Lanugage (HTML) in usage then with HTML 4.0 not being pubished as a W3C Recommendation until December of that year. In the past, I used to add material to the site far more frequently. I haven't added much to the site in the last few years and haven't made any significant changes to the site for many years. Consequently, visitors viewing pages with large images from a mobile device would see only the leftmost portion of those images and would need to scroll right if they were using a mobile device such as a phone. I finally added a few lines to the site's style.css Cascading Style Sheets (CSS) file today to have images be scaled down to fit the screens of mobile devices. The lines I added are those below:
img {
  max-width: 100%;
  height: auto;
}

Those lines tell browsers that the maximum width of an image when it is displayed within the user's browser shoud be no wider than the page's width as it is displayed within that browser on that device. I added the "height: auto;" to ensure that when images are resized that the height is also adjusted to maintain the heighth to width ration of the original image. Otherwise, some images might be distorted so that the image height would be much greater in relation to its width than in the original image. With the auto setting, the height to width balance remains such that the image fits within the displaye page without appearing elongated.

[/network/web/html/css] permanent link

Wed, Nov 17, 2021 8:33 pm

Book classification fields in Book Collector

I use Book Collector from Collectorz.com to catalog my books. When entering books into the Book Collector database, I like to include the Dewey Decimal Classification (DDC) number, Library of Congress Control Number, and Library of Congress Classification if those are available. When you enter a new book into the database, you can have the program search for an existing entry for the book from its enormous online database of books by clicking on the plus sign (+) at the top, left-hand part of the Book Collector window, which will then allow you to search by International Standard Book Number (ISBN), Author/Title, or LCCN. If the book is found, you can then choose to add its entry to your own collection or your wish list. Occasionally, I've found an LCCN listed in the LoC Control Number book, as is the case for Lost Treasures of American History by W.C. Jameson, but when I search the Library of Congress database for information associated with that LCCN, such as the LOC classification, I find that no record is returned.

[ More Info ]

[/software/database/collectorz] permanent link

Once You Know, You Newegg AliExpress by Alibaba.com

Shop Amazon Local - Subscribe to Deals in Your Neighborhood

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo