Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Element width Fixed position

Posted on 2013-06-15
2
Medium Priority
?
443 Views
Last Modified: 2013-06-15
Head over to here

Scroll down so that div becomes fixed and then resize your browser down taking note of the SHOW FILTERS div.
I need someway to constrain that div to the width of the main content
0
Comment
Question by:Gary
2 Comments
 
LVL 54

Accepted Solution

by:
Scott Fell,  EE MVE earned 2000 total points
ID: 39250651
This seems to work on safari.  The max width seems off to start with adn taking the width down to 99%.

#filterclick {
max-width:990px;
text-align:center;
width: 99%;
font-weight:bold;
font-size:14px;
    z-index: 999;

background: #E9E6E0;
}
0
 
LVL 58

Author Closing Comment

by:Gary
ID: 39250655
Geez, 99% works
Why 100% breaks it I don't know.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question