Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding more than one flexbox crashes everything #51

Open
jessekahner opened this issue Jul 24, 2013 · 0 comments
Open

Adding more than one flexbox crashes everything #51

jessekahner opened this issue Jul 24, 2013 · 0 comments

Comments

@jessekahner
Copy link

I used fix #33 to remove the error mentioned in #32. (I have more than one flexbox)

But by doing so, when loading the page, the browser completely crashes on me (Chrome, Firefox and IE9).

Here is part of my css to help you understand:

#h-wrapper #primary-nav ul.menu {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
  display: box;
  width: 100%;
  padding: 0;
}
#h-wrapper #primary-nav ul.menu li {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -ms-box-flex: 1;
  box-flex: 1;
  position: relative;
  line-height: 60px;
}
...
#h-wrapper #primary-nav ul.menu li ul.sub-menu {
  left: 0;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
  display: box;
  *zoom: 1;
  max-width: 980px;
  _width: 980px;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
  height: auto;
}
...
#h-wrapper #primary-nav ul.menu li ul.sub-menu li {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -ms-box-flex: 1;
  box-flex: 1;
  line-height: normal;
  border-right: 1px solid #b4b4b4 !important;
}

Any ideas on how to deal with this would be appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant