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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:59:19+00:00 2026-06-02T05:59:19+00:00

I have a fixed size layout where I center the content container. I want

  • 0

I have a fixed size layout where I center the content container.

I want the menu (home, about, contact, login), to span 100% of the screen.

Take a look at this jsfiddle: http://jsfiddle.net/Hxhc5/1/

enter image description here

The result I want is this:
enter image description here

I have tried a to make a 100% width container with the menus, where I would have a container inside to center the menu, but it did not work well, because then the layout is relative, changed with the window size.

  • 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-02T05:59:22+00:00Added an answer on June 2, 2026 at 5:59 am

    Wrap an extra div arround the menu, give it the grey background, remove the extra padding, make the menu bg white:

    http://jsfiddle.net/sg3s/Hxhc5/3/

    This is problematic when we want to keep the space between the menu and the right col ‘open’ though.

    The easiest way and probably the best is to have a mock image of which the middle is left ‘open’ and use it as a background. Since a png image of this type is insanely small it is better than more markup, css or a js solution, plus it has no quirks if used correctly:

    http://jsfiddle.net/sg3s/Hxhc5/10/

    You also showed your actual developement site; if you want to implement this for the menu you will have to make the menu fixed height (everthing else and its width can still be fluid) due to the type of opacity you use in the layer. The same background trick can be made to work with it.

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

Sidebar

Related Questions

I have layout defined like this: <g:DockLayoutPanel unit=PX> <g:north size=100> <g:Label>top</g:Label> </g:north> <g:center> <g:ScrollPanel>
SOLVED: Per the two responses about having a fixed size, i do have a
I have a fixed size layout, centered using margin: 0 auto . I wonder
I have a div with a fixed size of 100px. scrollWidth and scrollHeight works
I have a CDHTMLDialog running in IE that has a fixed size that I
I have docbook generated HTML that contains small, fixed size images. All these images
I have two UILabels, one above the other. The top one has fixed size
I have a ListView whose size is fixed to maximum of 10 items View
I have a PictureBox that its size is fixed to 480x360 pixels. I write
I have a number of rather large binary files (fixed length records, the layout

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.