This page tests AWeb's support for CSS1 and CSS2 properties via inline styles (STYLE attribute). Each section demonstrates supported CSS properties with explanatory text describing what you should see. Note that some properties have limitations due to AWeb's layout engine architecture - see the Summary section for details.
What you should see: Three paragraphs with different text alignment - left, center, and right.
|
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. If the specified font is not available, AWeb should fall back to a default font.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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. Higher line-height values create more space between lines.
|
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 using hex color codes.
|
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. Each paragraph should have a distinct background color.
|
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. More padding should create more space around the text.
|
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: Elements positioned using absolute, relative, static, or fixed positioning. Note: Full positioning support may be limited.
|
Test: This DIV uses position: static (default positioning).
This DIV uses position: relative.
This DIV uses position: absolute with top: 0px and left: 0px.
This DIV uses position: fixed.
|
What you should see: Paragraphs with margin shorthand property. The margin property can accept 1-4 values to set all margins at once.
|
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 creating space around elements.
|
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: Elements with background images. Note: Requires a valid image URL to test.
|
Test: This paragraph has a background image (1x1 transparent GIF). If the image loads, you should see it tiled behind the text. This paragraph has no background image for comparison. |
What you should see: Table cells with different widths and heights. Cells should be sized according to the CSS width and height properties.
Test:
|
What you should see: Table cells with different text alignment - left, center, and right.
Test:
|
What you should see: Table cells with different vertical alignment - top, middle, bottom, and baseline.
Test:
|
What you should see: Table cells with different background colors. Each cell should have a distinct background color.
Test:
|
What you should see: Table cells with multiple CSS properties applied simultaneously - width, height, alignment, background color, and padding.
Test:
|
What you should see: Tables with different border colors specified via CSS.
Test:
|
What you should see: Links without underlines. The links should be clickable but not have the typical underline decoration.
|
Test: Normal link (underline depends on user setting): Click me 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. The link text should appear in the specified color instead of the default link color.
|
Test: |
What you should see: Unordered lists with different bullet styles - disc, circle, square, and none.
Test:
|
What you should see: Unordered lists displayed horizontally (inline) instead of vertically. List items should appear on the same line with spacing between them, and bullets should be removed.
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 - decimal, lower-alpha, upper-alpha, lower-roman, upper-roman, and none.
Test:
|
What you should see: Definition lists (DL) displayed as a grid layout. The DT (term) elements should appear in the first column, and DD (description) elements with grid-column-start: 2 should appear in the second column.
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 between rows and columns.
Test:
|
What you should see: Grid layouts with different column template definitions. The max-content value sizes columns based on their content.
Test:
Note: grid-template-columns: max-content sizes the first column to fit the widest content. |
What you should see: Grid items positioned using grid-column-start and grid-row-start properties. grid-column-start: 2 places items in the second column.
Test:
Note: grid-column-start: 2 positions the element in the second column of the grid. grid-column-end, grid-row-start, and grid-row-end are parsed but may have limited rendering support. |
Last Updated: 2025 - AWeb 3 CSS1/CSS2 Compatibility Test
External Stylesheet Tests | Back to AWeb documentation index