Title: Trouble Shooting Validation errors
Last modified: August 20, 2016

---

# Trouble Shooting Validation errors

 *  Resolved [eric brockman](https://wordpress.org/support/users/eric-brockman/)
 * (@eric-brockman)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/trouble-shooting-validation-errors/)
 * Link: [http://ericbrockmanwebsites.com/dev/](http://ericbrockmanwebsites.com/dev/)
 * I’m having two main errors I’m not sure how to fix.
    1. The Title of the Blog
   is FISH-FRY MUSIC AND SOUND, but if I use `<link rel="stylesheet" href="<?php
   bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="screen" />` I get this
   error:
 * Bad value [http://ericbrockmanwebsites.com/dev/wp-content/themes/FISH-FRY](http://ericbrockmanwebsites.com/dev/wp-content/themes/FISH-FRY)
   MUSIC AND SOUND CUSTOM THEME/style.css for attribute href on element link: Whitespace
   in path component. Use %20 in place of spaces.
 * I’m actually getting lots of these errors all for the same reason (I assume).
 * Secondly I’m getting this error:
 * Line 85, Column 7: Element style is missing required attribute scoped.
 * <style>
 * Attributes for element style:
    Global attributes media type scoped Also, the 
   title attribute has special semantics on this element.
 * Not sure what to do about this?!?
 * Any help is greatly appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/trouble-shooting-validation-errors/#post-2720518)
 * The “FISH-FRY MUSIC AND …THEME” portion of the URL for the stylesheet has spaces
   in it (between the words). You cannot have spaces in URLs.
 * The second one is because you are missing a required attribute for the style 
   tags — see[ this.](http://www.w3schools.com/tags/tag_style.asp)
 *  Thread Starter [eric brockman](https://wordpress.org/support/users/eric-brockman/)
 * (@eric-brockman)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/trouble-shooting-validation-errors/#post-2720536)
 * Okay this helps a lot, so I’ve re-uploaded my theme without using spaces in the
   theme title and that cleared most errors.
 * The one I’m stuck on is the <style> tag
 * As far as I can tell the only required attributes are:
    type=”text/css” media
   =”screen”
 * I have both of those listed. According to this [http://www.w3schools.com/html/html_css.asp](http://www.w3schools.com/html/html_css.asp)
   it seems I’m set up right, but obviously I’m missing something.
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/trouble-shooting-validation-errors/#post-2720543)
 * The opening style tag on line 85 of the html code has no attributes at all. But
   actually that whole section of CSS is in the wrong place — as it is in the body
   of the page. CSS does not go there — an internal stylesheet goes in the head 
   section. (or in an external stylesheet or inline). So you need to fix that whole
   section AND add the required attributes to that style tage.
 *  Thread Starter [eric brockman](https://wordpress.org/support/users/eric-brockman/)
 * (@eric-brockman)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/trouble-shooting-validation-errors/#post-2720550)
 * AHHHHH, I see what’s happening, there’s a plugin I have installed “Front-Slider”
   that has the CSS for the plugin written into their front-slider.php file.
 * Moving all of the CSS to my main styleshhet.css makes everything validate! Of
   course now I have to go back and restyle a bunch of stuff for that plugin, but
   hey it validates.
 * Thanks Yogi!!
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/trouble-shooting-validation-errors/#post-2720563)
 * Great — glad that solves it. Gotta watch out for those plug-ins that do odd things!
 *  Thread Starter [eric brockman](https://wordpress.org/support/users/eric-brockman/)
 * (@eric-brockman)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/trouble-shooting-validation-errors/#post-2720579)
 * Thanks again for your help, WPyogi. Now I have to figure out how to get my header
   items to line up on all the major browsers… but that’s for a new thread!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Trouble Shooting Validation errors’ is closed to new replies.

## Tags

 * [mark-up](https://wordpress.org/support/topic-tag/mark-up/)
 * [validation errors](https://wordpress.org/support/topic-tag/validation-errors/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [eric brockman](https://wordpress.org/support/users/eric-brockman/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/trouble-shooting-validation-errors/#post-2720579)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
