Hi,
If I use the Modernizr full version (modernizr-2.6.2.min.js) the header and navbar will not fill the full width - but when using a custom built Modernizr the 100% width works.
With the full version it looks like header and navbar using the "max-width: 1140px" in the rule ".main" ??
I have scratch my head many times now about this, but can't solve it – so any suggestion is welcome.
The header and navbar should be 100% width, and using this scss:
Hi, If I use the Modernizr full version (modernizr-2.6.2.min.js) the header and navbar will not fill the full width - but when using a custom built Modernizr the 100% width works.
With the full version it looks like header and navbar using the "max-width: 1140px" in the rule ".main" ??
I have scratch my head many times now about this, but can't solve it – so any suggestion is welcome.
The header and navbar should be 100% width, and using this scss:
On this page I'm using the full version of Modernizr: http://cigar2.se
And here I'm using a custom build: http://cigar2.se/skytteguiden.html
What it is in Modernizr that limit the width on .wrapper to the same as in .main rule? With the custom build the design breaks in IE8 :(
Regards, Magnus
Hey I dont know if this is the right solution, but it works as far as i can see.
put on all the elements from header up to html (so only parents, and the parents from the parents up to html itself), a width:100%; then it will work.
gl
Thanks strages, setting width to 100% on the html element, seems to solve the issue. Strange, but working… ;)
Magnus
nice that I could help! :)