TerrorZone: CSS Support Chart (Web Design in a Nutshell, 2nd Edition)  
  Home · FORUM · New · Apache · Web · JavaScript · Java · Perl · C/C++ · SQL · O'Reilly · RFC · Unix · Network · CVS · Other
   
 У нас открылся форум
 Please visit our forum
Book HomeWeb Design in a NutshellSearch this book

Appendix E. CSS Support Chart

Contents:

Notes

Browser compatibility -- or lack thereof -- is the biggest obstacle to adoption of CSS. This appendix provides a comprehensivev guide to how the browsers have implemented support for CSS1. Check this master list to get a rough idea of how well a given property and its values are supported.

This appendix uses the following key:

Supported

Not supported

P

Partial support (some values are supported, some aren't)

B

Buggy support (anything from mangled display to browser crashes)

Q

Quirky support (browser may not act as expected)

This list and the notes that follow are current as of January 2001. For the latest information, please visit http://style.webreview.com.

Property or Value

Windows 95

Macintosh

N4

N6

IE3

IE4

IE5

IE55

O3

O4

N4

N6

IE3

IE4

IE5

1.1

Containment in HTML

P

P

Q

Q

Q

P

B

LINK

B

<STYLE>...</STYLE>

@import

Q

Q

Q

<x STYLE="dec;">

B

B

1.2

Grouping

x, y, z {dec;}

1.3

Inheritance

B

P

B

B

(inherited values)

B

P

B

B

1.4

Class selector

B

Q

Q

Q

B

.class

B

Q

Q

Q

B

1.5

ID selector

B

B

B

B

B

B

B

B

#ID

B

B

B

B

B

B

B

B

B

1.6

Contextual selectors

B

P

x y z {dec;}

B

P

1.7

Comments

B

/* comment */

B

2.1

anchor

P

P

P

P

B

A:link

B

A:active

B

A:visited

B

B

2.3

first-line

B

:first-line

B

2.4

first-letter

B

:first-letter

B

3.1

important

!important

3.2

Cascading Order

B

P

B

P

Weight sorting

B

B

Origin sorting

B

B

B

Specificity sorting

B

P

B

B

Order sorting

B

B

5.2.2

font-family

P

P

<family-name>

P

<generic-family>

P

P

P

serif

sans-serif

cursive

B

fantasy

B

monospace

5.2.3

font-style

P

P

P

P

normal

italic

oblique

5.2.4

font-variant

Q

Q

Q

Q

normal

small-caps

Q

Q

Q

Q

5.2.5

font-weight

P

P

P

P

normal

bold

bolder

lighter

100-900

5.2.6

font-size

P

P

P

P

P

Q

<absolute-size>

Q

Q

Q

B

Q

xx-small - xx-large

Q

Q

Q

B

Q

<relative-size>

B

larger

B

smaller

B

<length>

P

B

<percentage>

P

5.2.7

font

P

P

P

P

P

P

Q

<font-family>

P

P

<font-style>

P

P

P

<font-variant>

Q

Q

Q

Q

<font-weight>

P

<font-size>

B

Q

Q

P

B

<line-height>

B

B

B

5.3.1

color

<color>

5.3.2

background-color

B

P

B

<color>

B

B

B

transparent

B

B

B

5.3.3

background-image

<url>

none

5.3.4

background-repeat

P

P

B

repeat

B

repeat-x

P

B

P

repeat-y

P

B

P

no-repeat

5.3.5

background-attachment

scroll

fixed

5.3.6

background-position

<percentage>

<length>

top

center

bottom

left

right

5.3.7

background

P

P

P

P

P

P

P

<background-color>

B

P

P

P

<background-image>

P

P

<background-repeat>

P

B

B

P

B

<background-attachment>

<background-position>

P

5.4.1

word-spacing

normal

<length>

5.4.2

letter-spacing

normal

<length>

5.4.3

text-decoration

B

B

B

B

B

B

B

B

B

B

B

B

P

none

Q

Q

Q

underline

Q

B

Q

B

Q

overline

line-through

blink

5.4.4

vertical-align

P

P

P

P

P

baseline

sub

super

top

B

text-top

middle

B

B

bottom

B

B

text-bottom

B

<percentage>

B

5.4.5

text-transform

P

capitalize

uppercase

B

lowercase

none

5.4.6

text-align

P

P

P

P

left

right

center

justify

B

B

5.4.7

text-indent

<length>

<percentage>

5.4.8

line-height

P

P

Q

P

P

normal

<number>

P

P

B

<length>

B

B

B

<percentage>

P

P

B

5.5.01

margin-top

P

B

P

P

P

B

P

<length>

P

B

P

P

P

B

P

<percentage>

P

P

P

P

B

P

auto

P

P

P

P

B

P

5.5.02

margin-right

B

B

P

P

P

Q

B

B

B

P

P

<length>

B

P

P

B

P

<percentage>

B

P

P

B

P

auto

P

5.5.03

margin-bottom

P

P

P

<length>

P

P

P

<percentage>

P

P

P

auto

P

P

P

5.5.04

margin-left

B

P

P

P

B

B

P

P

<length>

B

P

P

P

<percentage>

B

P

P

B

P

auto

B

P

5.5.05

margin

B

B

B

P

P

B

B

B

B

P

<length>

B

B

P

P

B

B

P

<percentage>

B

P

P

B

B

P

auto

P

P

B

P

5.5.06

padding-top

B

P

P

Q

B

P

<length>

B

P

P

B

P

<percentage>

B

P

P

B

P

5.5.07

padding-right

B

P

P

Q

B

P

<length>

B

P

P

B

P

<percentage>

B

P

P

B

P

5.5.08

padding-bottom

B

P

P

B

P

<length>

B

P

P

B

P

<percentage>

B

P

P

B

P

5.5.09

padding-left

B

P

P

B

P

<length>

B

P

P

B

P

<percentage>

B

P

P

B

P

5.5.10

padding

B

P

P

Q

B

B

P

<length>

B

P

P

B

B

P

<percentage>

B

P

P

B

B

P

5.5.11

border-top-width

B

P

P

B

P

thin

P

P

P

medium

P

P

P

thick

P

P

P

<length>

P

P

P

5.5.12

border-right-width

B

P

P

B

P

thin

P

P

P

medium

P

P

P

thick

P

P

P

<length>

P

P

P

5.5.13

border-bottom-width

B

P

P

B

P

thin

B

P

P

B

P

medium

B

P

P

B

P

thick

B

P

P

B

P

<length>

B

P

P

B

P

5.5.14

border-left-width

B

P

P

B

P

thin

P

P

P

medium

P

P

P

thick

P

P

P

<length>

P

P

P

5.5.15

border-width

B

P

P

B

P

thin

P

P

P

medium

P

P

P

thick

P

P

P

<length>

P

P

P