Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Jolly Roger Newsgroups: comp.sys.mac.apps,comp.sys.mac.system Subject: Re: Screen capturing on Retina Macs... Date: 20 Oct 2015 06:08:34 GMT Lines: 40 Message-ID: References: <5622fb5b$0$1676$742ec2ed@news.sonic.net> <5623d16a$0$1701$742ec2ed@news.sonic.net> <201020150035566557%nospam@ny.more> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net 4NgIcdYCRQeEy7dzrRTCcwYXNoTrjtc3RImoZLOIQ1vzqoIVXm Cancel-Lock: sha1:ov3HjHoNnjA+JPjeHvx9RnuJN+Q= sha1:UpLe//9MqaIoUPCmijTThIwremE= User-Agent: NewsTap/5.1 (iPhone/iPod Touch) Xref: csiph.com comp.sys.mac.apps:32788 comp.sys.mac.system:83851 dorayme wrote: > In article <201020150035566557%nospam@ny.more>, M-M > wrote: > >> In article , >> dorayme wrote: >> >>> To cover such problems, a knowledge of the dimensions of the pics >>> would be helpful and then provision could be made to style so that the >>> text stays within the width of the pictures (mostly a better look) >> >> or use tables to keep the text within the confines of the photo. > > No magic solution here, there's still the question of how big to make > the cells. If the dimensions of the pics are known, the element that > contains them can be dimensioned to suit and the text can be confined > to the width of the element. The element could be a TD in a table or > it could be a DIV or any number of other elements without a table. > > The text does not *have* to be confined to the width of the picture. > It could be in an element of its own and dimensioned to be a guessed > reasonable percentage of the viewport and centred. All depends on the > project, whether there are many pictures, whether they are similar in > size, or even aspect ratio. > > The one good thing about tables is the shrink-to-fit quality of the > cells but in this case it hardly helps if the text is so long that it > stretches the cells (you see, it's really spring-to-fit because it > will also expand to fit!). And, besides, there are ways to get the > shrink to fit quality outside tables. Like I said, styling is left as an exercise. Also, if you want to generate the HTML with easy to use templates, you could look at solutions like jAlbum. -- E-mail sent to this address may be devoured by my ravenous SPAM filter. I often ignore posts from Google. Use a real news client instead. JR