Skip to main content

In the HTML source provided, the element #tfl#tfl has an inline style "display:block""display:block". Inline style will always override stylesheets styles…

Then, you have some options (while as you said you can't modify the html code nor using javascript):

  • force display:none with !important rule (not recommended)

    force display:none with !important rule (not recommended)

  • put the div offscreen with theses rules :

    put the div offscreen with theses rules :

     #tfl {
         position: absolute;
         left: -9999px;
     }
    

#tfl { position: absolute; left: -9999px; }

In the HTML source provided, the element #tfl has an inline style "display:block". Inline style will always override stylesheets styles…

Then, you have some options (while as you said you can't modify the html code nor using javascript):

  • force display:none with !important rule (not recommended)
  • put the div offscreen with theses rules :

#tfl { position: absolute; left: -9999px; }

In the HTML source provided, the element #tfl has an inline style "display:block". Inline style will always override stylesheets styles…

Then, you have some options (while as you said you can't modify the html code nor using javascript):

  • force display:none with !important rule (not recommended)

  • put the div offscreen with theses rules :

     #tfl {
         position: absolute;
         left: -9999px;
     }
    
Source Link
Akaryatrh
  • 531
  • 2
  • 10

In the HTML source provided, the element #tfl has an inline style "display:block". Inline style will always override stylesheets styles…

Then, you have some options (while as you said you can't modify the html code nor using javascript):

  • force display:none with !important rule (not recommended)
  • put the div offscreen with theses rules :

#tfl { position: absolute; left: -9999px; }