TheFilmGod Posted November 9, 2007 Share Posted November 9, 2007 How can I make a border go around on only three sides? I know you can do: border-left: .... But I want to do that in just one line of code border: 1px solid #8c8c8c; --> That puts the border on all 4 sides Quote Link to comment https://forums.phpfreaks.com/topic/76633-border-on-three-sides/ Share on other sites More sharing options...
sKunKbad Posted November 9, 2007 Share Posted November 9, 2007 border-left border-right border-top border-bottom those are your choices... you can't just do it with border by itself. Quote Link to comment https://forums.phpfreaks.com/topic/76633-border-on-three-sides/#findComment-388052 Share on other sites More sharing options...
ToonMariner Posted November 9, 2007 Share Posted November 9, 2007 you can't do it one line in css2... you cand do it in 2 though; border: 1px solid #8c8c8c; border-top: none; Quote Link to comment https://forums.phpfreaks.com/topic/76633-border-on-three-sides/#findComment-388090 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.