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 driving me mad!

Featured Replies

Hey guys I'm trying to validate my site and getting this error on a number of pages, i know what the validator is saying I just don't know what to do to solve it.

 

Any help would be appreciated.

 

The error message states:

"Error Line 163, Column 26: Element p not allowed as child of element span in this context. (Suppressing further errors from this subtree.)"

 <span class="blog_p"><p>Want a professional website, a professional service f…

  • Author

Isn't a span an inline element where as a p is a block element

 

can you swap your span for a div

 

Ive tried that, if i do that the alignment goes all messed up :S

You cannot <span> a <P>, it needs to be the other way round, if it messes up the alignment, you need to change what you're applying to the span to the p. Just give the <p> a class.

  • Author

You cannot <span> a <P>, it needs to be the other way round, if it messes up the alignment, you need to change what you're applying to the span to the p. Just give the <p> a class.

 

Ah yes your right WBC, thanks for your help. brownie points have been awarded :yahoo: cheers

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.