border left right top bottom css code example Example: css border only top and bottom #element{ border-left:none; border-right:none; }