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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:33:46+00:00 2026-06-12T00:33:46+00:00

Okay so i have this menu I got to do, it need to be

  • 0

Okay so i have this menu I got to do, it need to be at least 100% of the page ( but not the actual css 100% because i have some pading and margins on it so it get too long ) and it has to grow even bigger if the scren size is too small to show all of the links.

html:

<div id="menu">
    <a href="index.html"><button><img src="img/open.png"/><div>Acceuil</div></button></a>
    <a href="carte.html"><button><img src="img/toggled.png"/><div>La carte</div></button></a>
    <a href="traiteur.html"><button><img src="img/toggled.png"/><div>Service traiteur</div></button></a>
    <a href="reservation.html"><button><img src="img/toggled.png"/><div>Réservation</div></button></a>
    <a href="gite.html"><button><img src="img/toggled.png"/><div>Gîte</div></button></a>
</div>

CSS:

#menu{
    background-color: #850101;
    box-shadow: inset 0 0 25px rgba(0,0,0,.45);
    padding-top: 114px;
    margin-left: 5%;
    min-height: auto;
    display: block;
    height:auto;
    bottom:0;
    top:0;
    left:0;
    right:0;
    z-index: 1
}
#menu button{
    background-color: #640404;
    box-shadow: inset 0 0 25px rgba(0,0,0,.45);
    border: none;
    width: 100%;
    color: #fff;
    font-size: 30px;
    height: 60px;
    text-align: left;
    padding: 5 0;
    margin-bottom: 7px;
}
#menu button:hover{
    background-color: rgba(94,1,1,0);
}
#menu img{
    margin-right: 30px;
    padding-bottom: 2px;
    margin-left: 5px;
}
#menu button div{
    display: inline;
    position: absolute;
}
  • 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-12T00:33:47+00:00Added an answer on June 12, 2026 at 12:33 am

    box-sizing to the rescue!

    #menu {box-sizing: border-box; min-height: 100%; padding: whatever;}
    

    Prefixed versions are:

    • -moz-box-sizing: border-box;
    • -webkit-box-sizing: border-box;

    Browser support is pretty darn good. Plays nicely with jQuery too.

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

Sidebar

Related Questions

Okay, I have this code: <script language=javascript type=text/javascript> <!-- function requestPage(page) { var request
I want to highlight the current menu you have click. I'm using CSS, but
Okay, so I have this script which works fine with IE but won't work
Okay, so I have this Silverlight client program. I'm not allowed to use the
Okay this is going to be hard to explain. I have a page with
Have a look at the menus on this page: http://www.pieterdedecker.be/labs/vspwpg/?page_id=96 They look okay in
Okay so i have this code: if (isset($_GET['book'])) { $query= SELECT book_id, title, authors.`author`
Okay so I have this mode: class Posts(db.Model): rand1 = db.FloatProperty() #other models here
Okay, so I have this form that is set to preload a DB record
Okay, so i have this code i wrote: class Connection { public static StreamWriter

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.