Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #17549
| Path | csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "J.O. Aho" <user@example.net> |
| Newsgroups | comp.lang.php |
| Subject | Re: Varying widths according to size of screen |
| Date | Sun, 23 Jul 2017 21:30:13 +0200 |
| Lines | 12 |
| Message-ID | <etkbq5F8tpgU1@mid.individual.net> (permalink) |
| References | <7b0f297c-2517-4629-ace6-e896e2d9fcd6@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net gX77JtOiOwaBjBBYRIAX2AedqM34WcMOOQUJH2jJ2+B8FpFH5a |
| Cancel-Lock | sha1:pQwyZo+X+kZLgXX4X3HDnRNa0rs= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 |
| In-Reply-To | <7b0f297c-2517-4629-ace6-e896e2d9fcd6@googlegroups.com> |
| Content-Language | en-GB |
| Xref | csiph.com comp.lang.php:17549 |
Show key headers only | View raw
On 07/23/17 20:28, bit-naughty@hotmail.com wrote: > If I have some search results, say, like you get on an E-commerce site, I would like the number of items per line vary according to the size of the screen - eg. if there are 10 say, handbags, if the screen width is short, I would like there to be 4 handbags on the first 2 lines, and 2 on the last one. But if the screen is BIG - then there should be 5 on each line. How do I architect this? (if it's a table they're in, then - tables have <tr>s, not just <td>s, ie. you have to TELL it where each row ends...) > > ...I'm not sure this is the right group, or the HTML one, or the CSS one, or the MySQL one.... but this LOOKS most appropriate :) No, you are in the completely wrong group, you should try CSS group and they tell you how to make div's float. -- //Aho
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Varying widths according to size of screen bit-naughty@hotmail.com - 2017-07-23 11:28 -0700 Re: Varying widths according to size of screen "J.O. Aho" <user@example.net> - 2017-07-23 21:30 +0200 Re: Varying widths according to size of screen Richard Damon <Richard@Damon-Family.org> - 2017-07-23 15:32 -0400 Re: Varying widths according to size of screen Mark Lloyd <not@mail.invalid> - 2017-07-24 10:25 -0500
csiph-web