(logo)  External Stylesheet CSS1/CSS2 Compatibility Test

This page tests AWeb's support for CSS1 and CSS2 properties via external stylesheets loaded via <LINK rel="stylesheet">. The styles are defined in css_test.css and applied using CSS classes. These tests mirror the inline style tests in css_test.html to verify that external stylesheets work correctly.


Quick Navigation

Text Properties | Colors | Layout & Positioning | Table Cell Styles | Link Styles | List Styles | Grid Layout

Text Properties

text-align - PASS

What you should see: Three paragraphs with different text alignment - left, center, and right, styled via external CSS classes.

Test:

This paragraph should be left-aligned. The text should start at the left edge of the container.

This paragraph should be center-aligned. The text should be centered within the container.

This paragraph should be right-aligned. The text should end at the right edge of the container.

font-family - PASS

What you should see: Text rendered in different font families via external CSS classes.

Test:

This text should use Georgia font (or Times, or a serif font if neither is available). The font-family property supports comma-separated font lists.

This text should use Arial font (or Helvetica, or a sans-serif font if neither is available).

This text should use Courier font (or a monospace font if Courier is not available).

font-size - PASS

What you should see: Text in various sizes using both absolute and relative font size keywords via external CSS classes.

Test:

This text should be extra extra small (xx-small).

This text should be extra small (x-small).

This text should be small.

This text should be medium (default size).

This text should be large.

This text should be extra large (x-large).

This text should be extra extra large (xx-large).

This text should be smaller than the base font size (relative).

This text should be larger than the base font size (relative).

font-style - PASS

What you should see: Normal and italic text styles via external CSS classes.

Test:

This text should be in normal (non-italic) style.

This text should be in italic style. The font should appear slanted.

font-weight - PASS

What you should see: Normal and bold text weights via external CSS classes.

Test:

This text should be in normal weight (not bold).

This text should be in bold weight. The text should appear thicker.

This text uses font-weight: 700 (equivalent to bold).

text-decoration - PASS

What you should see: Text with line-through decoration via external CSS classes.

Test:

This text should have a line through it (strikethrough).

This text should have no decoration.

text-transform - FAIL

What you should see: Text transformed to uppercase, lowercase, and capitalize via external CSS classes.

Test:

this text should be in uppercase

THIS TEXT SHOULD BE IN LOWERCASE

this text should have the first letter of each word capitalized

white-space - FAIL

What you should see: Text with nowrap preventing line breaks via external CSS classes.

Test:

This is a very long line of text that should not wrap to multiple lines even if it extends beyond the container width because white-space is set to nowrap.

line-height - FAIL

What you should see: Text with different line heights via external CSS classes.

Test:

This paragraph has line-height: 1.0 (tight spacing).
This is the second line.
This is the third line.

This paragraph has line-height: 1.5 (normal spacing).
This is the second line.
This is the third line.

This paragraph has line-height: 2.0 (loose spacing).
This is the second line.
This is the third line.

Back to top


Color Properties

color - PASS

What you should see: Text in various colors specified via external CSS classes.

Test:

This text should be red (#ff0000).

This text should be green (#00ff00).

This text should be blue (#0000ff).

This text should be a brown/tan color (#8B7355).

This text should be gray (#666666).

background-color - FAIL

What you should see: Text with different background colors via external CSS classes.

Test:

This paragraph should have a light red background (#ffcccc).

This paragraph should have a light green background (#ccffcc).

This paragraph should have a light blue background (#ccccff).

This paragraph should have a beige/cream background (#F0EDEA).

This paragraph should have a tan background (#E8E0D8).

Back to top


Layout & Positioning Properties

padding - FAIL

What you should see: Paragraphs with different padding amounts via external CSS classes.

Test:

This paragraph has 5 pixels of padding. There should be a small amount of space around the text.

This paragraph has 15 pixels of padding. There should be more space around the text.

This paragraph has 30 pixels of padding. There should be a large amount of space around the text.

margin shorthand - FAIL

What you should see: Paragraphs with margin shorthand property via external CSS classes.

Test:

This paragraph has margin: 10px (all sides).

This paragraph has margin: 10px 20px (top/bottom: 10px, left/right: 20px).

This paragraph has margin: 10px 20px 30px (top: 10px, left/right: 20px, bottom: 30px).

This paragraph has margin: 10px 20px 30px 40px (top: 10px, right: 20px, bottom: 30px, left: 40px).

This paragraph has margin: 0 (no margins).

margin-right, margin-left, margin-top, margin-bottom - FAIL

What you should see: Paragraphs with different margin values via external CSS classes.

Test:

This paragraph has margin-right: 50px. There should be extra space on the right side.

This paragraph has margin-left: 50px. There should be extra space on the left side.

This paragraph has margin-top: 30px. There should be extra space above.

This paragraph has margin-bottom: 30px. There should be extra space below.

This paragraph has margin-left: 1em and margin-right: 1em (using em units).

Back to top


Table Cell Styles

text-align in table cells - FAIL

What you should see: Table cells with different text alignment via external CSS classes.

Test:
Left-aligned text in table cell
Center-aligned text in table cell
Right-aligned text in table cell

background-color in table cells - PASS

What you should see: Table cells with different background colors via external CSS classes.

Test:
Cell with tan background (#E8E0D8) Cell with beige background (#F0EDEA)
Cell with light red background (#ffcccc) Cell with light green background (#ccffcc)

Combined table cell styles - FAIL

What you should see: Table cells with multiple CSS properties applied simultaneously via external CSS classes.

Test:
Combined styles: width, height, center alignment, middle vertical alignment, background color, padding, and text color.

border-color - FAIL

What you should see: Tables with different border colors specified via external CSS classes.

Test:
Table with red border color

Table with green border color

Back to top


Link Styles

text-decoration: - PASS

What you should see: Links without underlines via external CSS classes.

Test:

Normal link (underline depends on user setting): Click me (default underline)

Link without underline: Click me (no underline)

Link without underline and custom color: Click me (no underline, brown color)

color on links - PASS

What you should see: Links with custom text colors via external CSS classes.

Test:

Red link

Green link

Blue link

Brown link (#8B7355)

Back to top


List Styles

list-style-type for unordered lists - FAIL

What you should see: Unordered lists with different bullet styles via external CSS classes.

Test:
  • Disc bullet (default for UL)
  • Second item with disc
  • Circle bullet
  • Second item with circle
  • Square bullet
  • Second item with square
  • No bullet (none)
  • Second item with no bullet

display: inline for horizontal lists - FAIL

What you should see: Unordered lists displayed horizontally via external CSS classes.

Test:
  • Home
  • About
  • Contact

Note: The list items should appear horizontally on one line, with spacing between them (using margin-left and margin-right with em units). No bullets should be visible.

list-style-type for ordered lists - FAIL

What you should see: Ordered lists with different numbering styles via external CSS classes.

Test:
  1. Decimal numbering (1, 2, 3...)
  2. Second item
  1. Lower alpha (a, b, c...)
  2. Second item
  1. Upper alpha (A, B, C...)
  2. Second item
  1. Lower roman (i, ii, iii...)
  2. Second item
  1. Upper roman (I, II, III...)
  2. Second item
  1. No numbering (none)
  2. Second item with no number

Back to top


Grid Layout Properties

display: grid - PASS

What you should see: Definition lists displayed as a grid layout via external CSS classes.

Test:
Term 1
Description for term 1. This should appear in the second column, aligned with the term.
Term 2
Description for term 2. This should also appear in the second column.
Longer Term Name
Description for the longer term. The grid layout should handle varying term lengths.

Note: The grid layout creates a two-column structure where terms are in the first column and descriptions are in the second column, with spacing between them (grid-gap).

grid-gap - PASS

What you should see: Grid layouts with different gap spacing via external CSS classes.

Test:
Small Gap
This grid has grid-gap: 2px 8px (small row gap, small column gap).
Medium Gap
This grid has grid-gap: 4px 16px (medium row gap, medium column gap).
Large Gap
This grid has grid-gap: 8px 32px (large row gap, large column gap).

Back to top


Last Updated: 2025 - AWeb 3 External Stylesheet CSS1/CSS2 Compatibility Test

Back to inline styles test | Back to AWeb documentation index