In my site, I am currently using overflow: hidden
on the #header
to prevent the overflow of the background, which belongs to one of its children (#input
, with SVG displey error hacked by #backgroundfix
).
However, I found that I must leave overflow to its default value as it interferes with something else in my site.
How can I cut off or prevent the overflow of the background of #input
without using overflow
property? Hopefully in a manner that is supported widely.
HTML:
<header id="header" role="banner">
<section id="logo"></section><section id="input">
<form method="get">
<input id="searchInput" type="text" name="search" autocomplete="off" autofocus x-webkit-speech value="Leonirdo" onfocus="this.value = this.value;" />
</form>
</section>
<div id="backgroundFix"></div>
</header>