Skip to content
View in the app

A better way to browse. Learn more.

OKCCN - XenForo & IPS Plugin Marketplace

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
  • Language

Featured Replies

  • Administrators

CSS Errors


CSS Errors

Errors in CSS can lead to unexpected behavior or styles not being applied correctly. This page shows common CSS mistakes and how to avoid them.


Missing Semicolons

Forgetting a semicolon at the end of a property declaration can break the style rule.

Example

.bad {
  color: red
  background-color: yellow;
}
Try it Yourself »

Invalid Property Names

Using a property name that does not exist will simply be ignored by the browser.

Example

.bad {
  colr: blue;
  font-size: 16px;
}
Try it Yourself »


Invalid Values

Correct properties but invalid values will also be ignored.

Example

.bad {
  width: -100px;
  color: green;
}
Try it Yourself »

Unclosed Braces

If you forget to close a brace }, the entire rule may be ignored.

Example

.bad {
  padding: 20px;
  margin: 10px;
Try it Yourself »

Extra Colons or Braces

Typos like extra colons or misplaced braces can cause rules to break.

Example

.bad {
  color:: blue;
}
Try it Yourself »

Tips to Avoid CSS Errors

  • Use a code editor with syntax highlighting.
  • Validate your CSS with a CSS linter or validator.
  • Write CSS in small sections and test frequently.


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.