Hi have a problem with css my code is this:

#menu-wrapper {
    position:absolute;  
    top:0;   
    height: 34px;
    width: 100%;
    background-color: #E95D22;
    margin: auto;
}

Normally it looks like this which is what i want
http://picturepush.com/public/10127434

But when i resize the browser it looks like this but i want it to keep to the page width:
http://picturepush.com/public/10127504

Thanks

Recommended Answers

All 4 Replies

Based on my opinion, the main problem is not in the menu wrap. It should be the container of it. Maybe the its container is set to a fixed width.

According to me its depend on how you can do CSS for your web page, so its depends on your work.

try to resize your width to 100%

All sorted out with a bit of javascript.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.