Solved

Element width Fixed position

Posted on 2013-06-15
2
424 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 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

786 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