在我的代码中,我只获取"High Spot“的底部边框,但我需要获取所有标签的边框。
<div class="form-group">
<label for="text" class="font-weight-bold"> What is the preferred order methodology? </label>
<br>
<button type="button" class="btn btn dropdown-to
在这里学习html/css。我正在尝试为我的.menu ul li ul li添加一个底部边框
.menu ul li ul li{
padding:0;
float:none;
margin:0 0 0 0px;
width:100%;
border-bottom: 1px solid #911;
}
但是右边的边框被切掉了,因为在这个样式中有正确的填充:
.menu ul li ul{
position:absolute;
right: 0px;
border:1px solid #911;
/*box-shadow*/
-webkit-box-shadow:0 1px 5px #CCCC
我正在尝试制作一个带有顶部边框的网站,但是当浏览器窗口被压缩,并且出现水平滚动条时,只有当滚动条位于其原始位置时,顶部的边框才可见。如果向右滚动,边框将停止。
HTML代码:
<div id='container'>
<div id='content'>
As you can see, when the window is small enough for scrolling, the border only exists in the "original" window space.
&l