0
ここは私が取り組んでいるコードの一部です。私はそれを上に置いたときに全体の背景に背景を追加したいのですが、 divの幅と高さは機能せず、スニペットに示されているように下部のみが変更されます。
この問題を解決する方法についていくつかお手伝いします。IMGタグの周囲にある私のDIVの寸法を変更できません
#select-background{
\t display:inline;
}
#select-background:hover{
\t display:inline;
\t background-color:#c1c1c1;
\t height:95px;
\t width:95px;
\t border-radius:10px;
}
<div id="select-background"><a href="https://hotmail.com"><img height="75" width="75" src="https://arteminc.github.io/stackoverflow-assets/hotmail.png"/></a></div>
私が何であるかをブロックとインライン知っているが、インラインブロックは何であるので、私はちょうど好奇心? – awesomeguy
両方の世界のベスト:)この[スタックの回答](https://stackoverflow.com/questions/9189810/css-display-inline-vs-inline-block)は私ができるよりも優れています –