Solved

Element width Fixed position

Posted on 2013-06-15
2
430 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 53

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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
This article discusses how to implement server side field validation and display customized error messages to the client.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

624 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