Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17549

Re: Varying widths according to size of screen

From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: Varying widths according to size of screen
Date 2017-07-23 21:30 +0200
Message-ID <etkbq5F8tpgU1@mid.individual.net> (permalink)
References <7b0f297c-2517-4629-ace6-e896e2d9fcd6@googlegroups.com>

Show all headers | 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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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