設(shè)置右邊框的樣式:
p { border-style:solid;border-right:thick double #ff0000;
}定義和用法
border-right 簡寫屬性把右邊框的所有屬性設(shè)置到一個聲明中。
可以按順序設(shè)置如下屬性:
如果不設(shè)置其中的某個值,也不會出問題,比如 border-right:solid #ff0000; 也是允許的。
默認值: | not specified |
---|---|
繼承性: | no |
版本: | CSS1 |
JavaScript 語法: | object.style.borderRight="3px solid blue" |
值 | 描述 |
---|---|
border-right-width | 規(guī)定右邊框的寬度。參閱:border-right-width 中可能的值。 |
border-right-style | 規(guī)定右邊框的樣式。參閱:border-right-style 中可能的值。 |
border-right-color | 規(guī)定右邊框的顏色。參閱:border-right-color 中可能的值。 |
inherit | 規(guī)定應(yīng)該從父元素繼承 border-right 屬性的設(shè)置。 |
2015職稱計算機考試書PowerPoint2007中 .. 定價:¥45 優(yōu)惠價:¥42 更多書籍 | |
2015年全國職稱計算機考試教材(2007模 .. 定價:¥225 優(yōu)惠價:¥213 更多書籍 |