Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Horizontal menu that equalizes

  • size based on screen size. Re: Horizontal menu that equalizes
  • size based on screen size.

  • #83494
    EricH
    Member

    I want to stay away from media queries I think. The problem is not mobile phone detection. I decided against media queries for a variety of reasons and choose to use php to detect the user agent. It fits for my needs. I think when media queries become a bit more standard I may try it out, it is also a bit trickier to use media queries due to the backend I am using for the site.


    @kevin
    : I have tried that before and it works but the challenge is that it works for a specific number of

  • s, so for instance 5 items then you would ste the width: 19%; 4 items, 24% and so on.

    I would like the desiggn to be responsive enough to adjust and scale automatically. I know it is rather hard to do that though, particularly horizontal menus.