HTML.and.XHTML.The.Complete.Reference.4th.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

HTML.and.XHTML.The.Complete.Reference.4th.Edition [Electronic resources] - نسخه متنی

Thomas Powell

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
توضیحات
افزودن یادداشت جدید








CSS Color Values


Cascading style sheets (CSS) support the color names and values listed above and also offer a number of other formats not available in HTML.


Three-Digit Hexadecimal Color Values


Under CSS, color values can be defined using three-digit hexadecimal color values, a concise version of the six-digit values just noted. This approach is supported by Internet Explorer 3 and higher and Netscape Navigator 4 and higher.

span {font-family: Helvetica; font-size: 14pt; color: #0CF;}


RGB Color Values


Under CSS, color values can be defined using RGB values. Colors are defined by the letters rgb, followed by three numbers between 0 and 255 that are contained in parentheses, separated by commas, and with no spaces between them. This approach is supported by Internet Explorer 4 and higher and Netscape Navigator 4 and higher.

p {color: rgb(204,0,51);}


RGB Color Values Using Percentages


Under CSS, RGB color values can also be defined using percentages. The format is the same, except that the numbers are replaced by percentage values between 0% and 100%. This approach is supported by Internet Explorer 4 and higher and Netscape Navigator 4 and higher.

p {color: rgb(75%,10%,50%);}


/ 252