Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7897203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:06:12+00:00 2026-06-03T08:06:12+00:00

Above you see an image of stacked div’s floating left. Here is that current

  • 0

enter image description here

Above you see an image of stacked div’s floating left. Here is that current markup:

<nav id="category-menu">
 <div class="category-top-row">
  <a href="categories/category-name">
   <div id="category-menu-button">Category Example
   </div>
  </a>
  <a href="categories/category-name">
   <div id="category-menu-button">Category Example
   </div>
  </a>
  <a href="categories/category-name">
   <div id="category-menu-button">Category Example
   </div>
  </a></div><!-- /#category-top-row-->
 <div class="category-bottom-row">
   <a href="categories/category-name">
    <div id="category-menu-button">Category Example
    </div>
   </a>
   <a href="categories/category-name">
    <div id="category-menu-button">Category Example
    </div>
   </a>
 </div><!-- /#category-bottom-row-->
</nav>

So here’s what I’m thinking, and maybe someone might be able to shed some light on if this is even possible:

Right now, the website scales from 1200px width, down to mobile using css3 media queries. When a mobile resolution loads the page, I adjust those images to stack into 2 columns so that we have enough space to see each of them. However, ideally I would like the user to be able to horizontally scroll through those categories with their finger, but still staying true to the device’s width. (ie. I want the category-menu wrapper to still maintain the mobile width, and ONLY allow scrolling in that wrapper)

I had the thought about creating a duplicate set of categories div called something like

<nav id="category-menu-mobile">
....
etc

and display:none to the “non-mobile” categories wrapper, switching to the new mobile styled categories. But is this even a possibility? How does Google do it! Can a div be scroll-able (borderless, and no scrollbar showing) the way I’m imagining it can on a mobile device? At first I thought the functionality behind frames is similar to what I wanted, but I don’t want to be loading a URL in that ‘window’. Just my fancy mobile menu.

The closest thing I can compare it to is Google’s icon scroller when loading Google on a mobile device:

Example of Google's Mobile site

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T08:06:14+00:00Added an answer on June 3, 2026 at 8:06 am

    You should be able to do this by explicitly setting the width and overflow-x properties in your mobile media query:

    @media screen and (device-width: 480px) {
        #category-menu {
            width: 480px;
            overflow-x: scroll;
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

See the image above. I'm working on notepad ++. html.erb files are presented that
I am trying to reset column sorting (see image above) so that there is
&mobile=0400000000¬es=this+is+a+test The error is above You will see that the following has occurred ¬es
hi as you can see in above image,i'm creating a simple calendar to use
I have an Activity A which has a "down" button (see image above). When
Please see this Image view that what i exactly want to do... <% for(;IteratorOfList.hasNext();)
Hello, see above for my 9 patch image. It is created using the 9
See above image. Image containing error i got during building cocos2d x application on
(iOS) I have a view that contains multiple textviews under static headings (see image
Please see the image above. I have had this problem for a few times.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.