JavaScriptのborderBottomプロパティ


  翻訳結果:

border

UK[ˈbɔ:də(r)] US[ˈbɔ:rdə(r)]

n.ボーダー; エッジ; エッジ; ラッピング エッジ

vt.& vi....の端でバインド...

vt. の端に沿って、囲む...、端...

vi近似、隣接

三人称単数: borders 複数形: borders 現在分詞: bordering 過去形: bordered 過去分詞: bordered

bottom

英[ ˈbɒtəm] 美[ˈbɑ:təm]

n. Bottom; end; hip; end

adj.

vt の底部. 底部を取り付ける; 深さを測定する;真実を見つけよう

vi. 底に到達する; 基盤を確立する

三人称単数:bottoms 複数形:bottoms 現在分詞:bottoming 過去形:bottomed 過去分詞:bottomed

JavaScriptのborderBottomプロパティ構文

関数: 下枠のすべてのプロパティを設定します。

#構文: Object.style.borderBottom=borderWidth borderStyle borderColor

#パラメータ:

borderWidth 境界線の幅を設定します。 borderStyle は境界線のスタイルを設定します。 borderColor 境界線の色を設定します。

JavaScriptのborderBottomプロパティ例

<html>
<head>
<style type="text/css">
p {border: thin dotted #FF0000}
</style>
<script type="text/javascript">
function changeBorder()
{
document.getElementById("p1").style.borderBottom="thick solid blue";
}
</script>
</head>
<body>

<input type="button" onclick="changeBorder()"
value="Change bottom paragraph border" />
<p id="p1">This is a paragraph with a border</p>

</body>
</html>

インスタンスの実行 »

[インスタンスの実行] ボタンをクリックしてオンライン インスタンスを表示します

ホームページ

ビデオ

に質問