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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:07:40+00:00 2026-06-10T17:07:40+00:00

warning, this may require some really basic advice. I am using a responsive stylesheet

  • 0

warning, this may require some really basic advice.

I am using a responsive stylesheet where styles for a mobile device are addressed first. as you progress down the stylesheet, you will find media queries for devices getting progressively larger (320 and up).
My question is, for every style I define for mobile (at the top), do I have to specify a counter-style if I don’t want that style for my larger devices. Or is there a simple ‘do not inherit’
eg. This is for mobile

          nav li {height:60px;}

For larger screens I don’t want to specify a height at all.

Thanks guys

  • 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-10T17:07:42+00:00Added an answer on June 10, 2026 at 5:07 pm

    Simple write:

    nav li { height: auto } 
    

    There is no “do not inherit”…

    Using something like modernizr you can use .touch or .no-touch classes on the <html> and many other useful for this scope as well.

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

Sidebar

Related Questions

I got this warning: 'UIView' may not respond to 'addSubview:withAnimation:' The line of code
I'm an absolute newbie to C so this may be a dumb question, warning!
When I run the command rake:install , I get this error message: WARNING: 'require
I'm getting this warning on a stack variable: warning: object.member may be used uninitialized
Warning: This is inherited legacy code that was initially put together in the early
Warning: This question has been heavily edited. I tried my best to guess the
Since in log4j javadoc is WARNING: This version of JDBCAppender is very likely to
I get this: Warning: session_start(): Cannot send session cookie - headers already sent by
I get this warning in my error logs and wanted to know how to
I have this warning every time I run my CGI-script (output is rendered by

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.