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.

Validation Queries

Featured Replies

After joining here and reading a ton of posts I have ripped my very first website apart and started the CSS and HTML from scratch.

 

I just put both in the W3C Validator and pleased that they only came back with 4 errors each.

 

Most of the corrections were mistakes like missing semi colons and alt tags for images etc, but a couple I need help with.

 

On the CSS it queries this:

img, div, li, ul Property behavior doesn't exist : url(iepngfix.htc)

 

I assume that's because that code is a hack/fix. Is there anyway to make it validate? It's my only error!!

 

 

On the HTML it queries:

 

No Character Encoding Found! Falling back to UTF-8.

and

 

No Character encoding declared at document level

 

If anyone wants to actually look at either page the addresses are www.edenstreet.net/test.css and www.edenstreet.net/test.htm

 

Thanks in advance!

Hi

 

Put this in the head section of your html

 

<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />

 

As for the css, you can remove the part giving you problems are their is nothing in there

 

Pat

  • Author

Thanks for your reply Pat.

 

I put the code in the Head section but it returned two errors.

Thanks for your reply Pat.

 

I put the code in the Head section but it returned two errors.

 

Sorry my mistake, didnt look at the doctype, use this

 

 

<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" >

 

Pat

For the png fix, i'd just move it into the actual document itself so you can use a conditional on it

 

<!--[if lte IE 6]>
 <style type="text/css">
  img, div, li, ul { behavior: url(iepngfix.htc) }
 </style>
<![endif]-->

 

So it only targets IE6 and lower, the problematic browsers.

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.