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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:05:11+00:00 2026-06-07T02:05:11+00:00

Pls help!!! CSS: body { margin: 0px; padding: 0px; } body #header { width:100%;

  • 0

Pls help!!!

CSS:

body
{
 margin: 0px;
 padding: 0px;
}

body #header {

     width:100%;
     clear:both;
     height:90px;
     /*overflow:hidden*/;
     box-shadow: 1px 0px 10px 2px #000;
     } 

body #header #h_l {
   width: 30%;
  height: 90px;
background-image: linear-gradient(top, #e1e1e1 40%, #9d9d9d 99%);
background-image: -o-linear-gradient(top, #e1e1e1 40%, #9d9d9d 99%);
background-image: -moz-linear-gradient(top, #e1e1e1 40%, #9d9d9d 99%);
background-image: -webkit-linear-gradient(top, #e1e1e1 40%, #9d9d9d 99%);
background-image: -ms-linear-gradient(top, #e1e1e1 40%, #9d9d9d 99%);

background-image: -webkit-gradient(linear, left top, left bottom, color-stop(40%, #e1e1e1), color-stop(99%, #9d9d9d)); /* Safari 4+, Chrome 2+ */  


 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e1e1e1', endColorstr='#9d9d9d'); /* IE6 & IE7 */  
   -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#e1e1e1', endColorstr='#9d9d9d')"; /* IE8+ */  


background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0.40, #e1e1e1),
    color-stop(0.99, #9d9d9d)
);
 float:left;
}

body #header #h_l #logo {

    float: right;
  /*-ms-interpolation-mode:bicubic; */
    max-width: 100%;
    width: auto\9; /* ie8 */ 
}

body #header #h_r {
   width: 70%;
  height: 90px;
background: #747474;

  float: right;
}

body #header #h_r #menu {

    position: relative;
    left: -50px;
    float:left;
  /*-ms-interpolation-mode:bicubic; */
    max-width: 100%;
    width: auto\9; /* ie8 */ 
  }   

HTML:

<body >

    <div id="header">

    <div id="h_l">

        <img id="logo"  title="logo" alt="logo" src="{HTTP}{WEBSITE}/images/newlook/MM/logo_plus100px_right.png" >
    </div>
    <div id="h_r">
        <span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Home_but.png" ></span><span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Divider_1.png" ></span><span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Solutions_but.png" ></span><span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Divider_1.png" ></span><span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Support_but.png" ></span><span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Divider_1.png" ></span><span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Company_but.png" ></span><span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Divider_1.png" ></span><span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Contact_but.png" ></span><span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Divider_1.png" ></span><span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Blog_but.png" ></span><span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Divider_1.png" ></span><span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Reseller_but.png" ></span><span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Divider_1.png" ></span><span ><img id="menu" title="" alt="" src="{HTTP}{WEBSITE}/images/newlook/MM/Apps_but.png" ></span>
    </div>

    </div>
</body>

Why do the elements from the menu on the right keep going on a new row one by one on browser window resizing?? How can i make it stop doing that and enable it to just resize like the image on the left, upon browser window resizing (as if the whole menu would be a full block)? Can it be done in CSS or do i need to make a javascript? Thanks to anyone who answers!

  • 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-07T02:05:14+00:00Added an answer on June 7, 2026 at 2:05 am

    It is not easy to understand what you are trying to achieve here without the actual images. I have reproduced your case here:

    http://jsfiddle.net/gVQ8x/1/

    I’ve just set percentage width here (what’s the -ms-interpolation-mode part for?):

    body #header #h_r #menu {
        position: relative;
        left: -50px;
        float:left;
      /*-ms-interpolation-mode:bicubic; */
        max-width: 100%;
        width: 6%; /* was auto\9 */
    }
    

    I strongly advise you against using IE hacks. Try conditional classes instead: http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/

    Another important issue that might cause problems in the future is that you have multiple elements in your document that share the same id, namely the aforementioned body #header #h_r #menu. The id must be unique if you want the javascript DOM manipulations to work properly and predictably.

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

Sidebar

Related Questions

pls help me how to create a .htaccess file as index.php?regional=aaa domain.com/aaa/ list.php?regional=aaa&ctg=bbb&orderby=ccc&page=123 domain.com/list/aaa/bbb/ccc/123/
This code shows syntax error in the parameter declaration.. Pls help me to solve
I am trying to create a slider like this example. pls anyone help me.
Pls look at following code <select name=VideoType id=VideoType style=width:60px> <option value=All>All</option> <option value=Movie>Movie</option> <option
alt text http://a.imageshack.us/img709/5208/errorss.jpg http://a.imageshack.us/img709/5208/errorss.jpg pls help, how to make ?
how to place horizontal scroll bar in Ext js Grid. pls help
pls help me. how can I split this String value? my code below wont
can't understand why this image resizing not working pls help //updating article function updateArticle(){
I want to send data from my Windows form to client wep page(.aspx).Pls help
I am too tired to figure this out, so pls help. I have an

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.