Solved

Element width Fixed position

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

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.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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…
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)

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now