1
How do I block 'padding' from that function
   <div style=" width: 300px;  float:left; padding-top:68px" > no @media ?
The goal is to block 'padding' in smaller resolutions.
1
How do I block 'padding' from that function
   <div style=" width: 300px;  float:left; padding-top:68px" > no @media ?
The goal is to block 'padding' in smaller resolutions.
1
Utilize class along with @media:
.minha-div {
  padding-top: 68px;
  width: 300px;
  float: left;
}
@media (max-width: 300px) {
  .minha-div {
    padding-top: 0px !important;
  }
}<div style="" class="minha-div">
</div>In that link has a tutorial on how to use CSS media queries.
1
In CSS the rules are applied in order... in your case probably loads before html.
Try to put ! Mportant in your rule in @media
@media... {
   .classeDaDiv {
       padding-top: 0 !important;
Vlw to answer
Browser other questions tagged css
You are not signed in. Login or sign up in order to post.
it worked Vlw man
– valdir silva
When the answer solves the problem, mark it as correct. xD
– Antony Alkmim
It was bad for the cloud, marked.
– valdir silva