borderRight
右枠(ボーダー)を参照/設定します。
構文
オブジェクト.style.borderRight
例文
<html>
<head>
<title>borderRight</title>
<script type="text/javascript"><!--
function changeCSS() {
document.getElementById("result").style.borderRight = "4px red solid";
}
// --></script>
</head>
<body>
<div id="result">Sample text</div>
<form>
<input type="button" value="Change" onClick="changeCSS()">
</form>
</body>
</html>
関連記事
- width
- height
- fontWeight
- fontVariant
- fontStyle
- fontStretch
- fontSize
- fontFamily
- font
- display
- color
- borderWidth
- borderTopWidth
- borderTopStyle
- borderTopColor
- borderTop
- borderStyle
- borderRightWidth
- borderRightStyle
- borderRightColor
- borderLeftWidth
- borderLeftStyle
- borderLeftColor
- borderLeft
- borderColor
- borderBottomWidth
- borderBottomStyle
- borderBottomColor
- borderBottom
- border
- backgroundColor
スポンサーリンク





