Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

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.

CSS Validation Issue

Featured Replies

Hi Guys

 

On my site I get 4 CSS validation errors that I do not know how to fix.

 

I would greatly appreciate any help on how I can make the CSS Valid.

 

Thanks

the report is showing that you have set css for .wp-caption , i cannot find a reference to this class in your code, i think thats what the error maybe

the browser specific corner radius isn't technically valid CSS since it is not in the specification yet. Thats the problem. Since its not an "error" really, I wouldn't worry about it.

Maybe it's my eyesight, but I can't see any rounded corners on your site... should there be any?

Maybe it's my eyesight, but I can't see any rounded corners on your site... should there be any?

 

rounded corners on the pic in the 2nd link he posted

 

 

cibgraphics is correct about the validation

Yeah, I wish the validator didn't see this as an "error". It prevents submission from so many CSS galleries if the validation isn't crisp perfect

Yeah, I wish the validator didn't see this as an "error". It prevents submission from so many CSS galleries if the validation isn't crisp perfect

 

Thats true, but the validator doesn't really care if you want to submit to galleries or not. It only cares if what you have validates according to specification.

Thats true, but the validator doesn't really care if you want to submit to galleries or not. It only cares if what you have validates according to specification.

 

I'll have to start a petition for W3C to take CSS galleries into account :D. It's nice to show flawless, 100% validated works to clients, it provides reassurance to them that the code is strong, one area where they can't provide feedback on. I use -moz-border-radius all the time, so I just wished it at least counted as a "warning" and not an "error"

If nothing else, you can show the Client the valid HTML. That will impress them hopefully enough. Chances are they don't even know what CSS is.

 

Yep, that's exactly what I do :D

Create an account or sign in to comment

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.