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.
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. |
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). |
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). |
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. |
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). |
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. |
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 |
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. |
What you should see: Text with different line heights via external CSS classes.
|
Test: This paragraph has line-height: 1.0 (tight spacing). This paragraph has line-height: 1.5 (normal spacing). This paragraph has line-height: 2.0 (loose spacing). |
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). |
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). |
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. |
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). |
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). |
What you should see: Table cells with different text alignment via external CSS classes.
Test:
|
What you should see: Table cells with different background colors via external CSS classes.
Test:
|
What you should see: Table cells with multiple CSS properties applied simultaneously via external CSS classes.
Test:
|
What you should see: Tables with different border colors specified via external CSS classes.
Test:
|
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) |
What you should see: Links with custom text colors via external CSS classes.
|
Test: |
What you should see: Unordered lists with different bullet styles via external CSS classes.
Test:
|
What you should see: Unordered lists displayed horizontally via external CSS classes.
Test:
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. |
What you should see: Ordered lists with different numbering styles via external CSS classes.
Test:
|
What you should see: Definition lists displayed as a grid layout via external CSS classes.
Test:
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). |
What you should see: Grid layouts with different gap spacing via external CSS classes.
Test:
|
Last Updated: 2025 - AWeb 3 External Stylesheet CSS1/CSS2 Compatibility Test
Back to inline styles test | Back to AWeb documentation index