0

I have problem with css on uc browser.

.note-sec
    {
        padding-bottom:50px;
        background:url(../img/4.jpg) no-repeat 50% 50%;
        background-attachment:fixed;
        -webkit-background-size:cover;
        -moz-background-size:cover;
        -o-background-size:cover;
        background-size:cover;
        width:auto;
        display:block;
        height:100%!important;
        min-height:300px;
        color:#fff
    }

in many browser like chrome, its working well.but in uc browser, the image width 100%, not height 100%. any ideas ?thanks

Ravi
  • 30,829
  • 42
  • 119
  • 173
wawan Setiyawan
  • 371
  • 7
  • 21

1 Answers1

0

UC Browser treats height: 100% differently and won't inherit from grandparent nodes.

What you need to do here is provide a fixed height to the parent of .note-sec and make the display property of the same as block or inline-block.

nashcheez
  • 5,067
  • 1
  • 27
  • 53