validation error please help
-
hi
I have a problem with Revolution Slider//echo '<div class="revsliderstyles">'; echo '<style>'; $db = new UniteDBRev(); $styles = $db->fetch(GlobalsRevSlider::$table_css); foreach($styles as $key => $style){ $handle = str_replace('.tp-caption', '', $style['handle']); if(!isset($this->class_include[$handle])) unset($styles[$key]); } $styles = UniteCssParserRev::parseDbArrayToCss($styles, "\n"); $styles = UniteCssParserRev::compress_css($styles); echo $styles; echo '</style>'."\n"; //echo '</div>';
when I validate the site it couse error
becouse <style> is not allowed when i change it, it is ok but there is no effect on the site or shows the css code
I try lots of things but it doesn’t work
How can i change it ? could anyone help me?
Element style not allowed as child of element div in this context. after validation
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘validation error please help’ is closed to new replies.