1
This is the page:
http://www.dinamicaimoveis.com.br/novo/admin
the css
that’s the one:
...
media screen and (min-width: 0px) and (max-width:480px) {
.sessoes {
width:100%;
}
.menu {
background:none;
}
.menus {
width:100%;
}
.menusItens {
display:inline;
}
ul.listaTopo {
display:block;
}
ul li.listaLi {
clear:both;
display:inline-block;
}
ul li.listaLi a{
display:inline-block;
}
.final, .base {
width:100%;
font-size:10px;
}
.final {
height:80px;
}
.baseEsquerda, .baseDireita {
width:45%;
}
.finalEsquerda, .finalDireita {
width:95%;
}
}
@media screen and (min-width: 0px) and (max-width:320px) {
.formLogin {
width: 300px;
}
}
@media screen and (min-width: 321px) and (max-width:480px) {
.formLogin {
width: 430px;
}
}
It’s the only thing working @media
in 320px.
That is, if I put everything inside the block
media screen and (min-width: 0px) and (max-width:320px) {
}
There’s a lot there that serves so much for resolution of 320px
how much to 480px
as an example:
.sessoes {
width:100%;
}
But if I do
@media screen and (min-width: 0px) and (max-width:480px) {
.sessoes {
width:100%;
}
...
}
@media screen and (min-width: 0px) and (max-width:320px) {
.formLogin {
width: 300px;
}
...
}
@media screen and (min-width: 321px) and (max-width:480px) {
.formLogin {
width: 430px;
}
...
}
Then in any resolution (including that of 320px
that was working) it behaves as if not inside a block @media
in any resolution.
Where am I going wrong?
I noticed that the error only happens from the header down.
It didn’t solve it. But that wasn’t the problem, since in the normal environment (without being the admin) I do the same and the error doesn’t occur! But anyway I already fixed it!
– Carlos Rocha
I suggest then post here as you solved.
– Anna
rrsr. I haven’t been able to yet. What I fixed was the thing about using li’s as selectors as directed. But the problem remains. In http://www.dinamicaimoveis.com.br/new/ I do the interpolation of @media queries and it was no problem. But http://www.dinamicaimoveis.com.br/novo/admin is not working
– Carlos Rocha