- This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I would like to know how do I make the border just stop below the light grey box rather than go all around.
remove border from .boxes and put it in .head-top instead.
.boxes {
background: #444444;
float: left;
height: 340px;
width: 30%;
margin-top: 2.5%;
margin-bottom: 2.5%;
margin-left: 2.5%;
}
.head-top {
height: 50px;
background: #ECECEC;
border: 1px solid #000
}
Hey Try this.
hi try this
Or this…which is, I think, closer to what was originally requested.
>I would like to know how do I make the border just stop below the light grey box rather than go all around.
I did and, assuming the the OP’s original request is what I think it was, then you still have this
.boxes {
border: 1px solid #d9d9d9; <===
}
All you did was add another border…which is not what he asked for.
Made is nice and clean style sorry for late reply did it so looks like there no border on area I am after. Just was mixing things around trying new things out