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 9202185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:11:42+00:00 2026-06-17T23:11:42+00:00

I am creating a responsive web design using media queries. For the mobile version

  • 0

I am creating a responsive web design using media queries. For the mobile version I use a drop down menu using jquery mobile.

I have included required links to the CDN, including the jquery-mobile.css.
The problem is that this CSS is getting automatically applied to all my tags for the entire website.

The menu bar is in the master page so the .js and.css source file links are in that page as well.

I want jquery mobile css to be applied only to the menu bar and not the entire website

I did a lot of research on this but no luck. I have been stuck here from past three days. Can someone please help me?

Edit:

    <head id="Head1" runat="server">


          <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
        <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,user-scalable=no,width=device-width,height=device-height" />
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
                <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
        <script type="text/javascript">
    $(document).bind('mobileinit',function(){
            $.mobile.page.prototype.options.keepNative = "select, input, a, div, p";
    });    
</script>
<script src="../Scripts/jquery.mobile-1.2.0.js"></script>
        <link rel="stylesheet" href="../Styles/WebStyles.css" type="text/css" />

        <title>Management Software, Space Rental process for Antique Malls, POS Software</title>
        <asp:ContentPlaceHolder ID="head" runat="server">
        </asp:ContentPlaceHolder>
</head>

This is the content in the head tag after Gajotres’ suggestion.

  • 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-17T23:11:44+00:00Added an answer on June 17, 2026 at 11:11 pm

    In my circumstance, after a fair amount of research, I found that the best solution for my problem is to find out what style is affecting which element using firebug and then deleting it in the jQuery-mobile.css file (you have to download it instead of accessing the hosted file). It took me a while to do this.

    Also IMHP it is better to use single framework to perform all your fancy jQuery work rather than many since finding the source of the conflict is very time consuming and tiring.

    I am converting all my jquery plugins to work on jQuery mobile and so far things are going good. Although this takes time, jQuery mobile is awesome and worth converting I feel. The UI suits very well for the web site I am currently developing.

    Finally, lesson learnt. Plan ahead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating large web application using Foundation 3.0 UI framework and it have
I've been researching responsive web design technologies and head.js and I have a few
I am creating a web crawler using Java EE Technologies. I have created a
I am creating a web api using asp.net mvc4 and the response output is
I'm creating a dynamic responsive week calendar, using Twitter Bootstrap . Here's my current
I'm creating a PHP web application framework (MVC). I'd rather not use external libraries
I'm creating some web requests using Jmeter, and trying to manually generate responses for
I am using JBoss 4.0 for creating a simple Web Service using the @WebService
I have a web application that creates directories. The application works fine when creating
Scenario: I am using Silverlight 3.0 as client for a web service. Design: The

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.