ホーム HTML CSS XML JAVASCRIPT   PHP SQL MORE...   リファレンス 事例集    

CSS3 punctuation-trim プロパティ

CSS3 Reference 完全な CSS3 リファレンス

Trim opening punctuation at the beginning of each line in the p element:

p
{
punctuation-trim:start;
}

ブラウザ・サポート

Internet Explorer Firefox Opera Google Chrome Safari

punctuation-trim プロパティをサポートしているブラウザはありません。


定義と用法

punctuation-trim プロパティは、行の先頭か最後に現れる場合、 または他の fullwidth 句読文字に隣接して現れる場合、句読点文字 をトリミングするかどうかを指定します。

デフォルト値: none
継承: yes
バージョン: CSS3
JavaScript構文: object.style.punctuationTrim="start"


構文

punctuation-trim: none|start|end|allow-end|adjacent;

説明
none 開きまたは閉じ句読点を切り捨てません
start 各行先頭の開き句読点を切り捨てます
end 各行最後の閉じ句読点を切り捨てます
allow-end Trim closing punctuation at the end of each line if it does not otherwise fit prior to justification
adjacent Trim opening punctuation if its previous adjacent character is a fullwidth opening, middle, or closing punctuation, or ideographic space. Trim closing punctuation if its next adjacent character is a fullwidth closing or middle dot punctuation, or ideographic space


CSS3 Reference 完全な CSS3 リファレンス