Meta Slider v. 2.3.1 xhtml validation error
-
Hello all,
When I try to validate the page that Meta Slider is installed on (XHTML transitional), I get this validation error:
Line 113, Column 27: document type does not allow element “style” here
<style type="text/css">
Here’s how it appears within the markup on that page:
<!-- meta slider --> <div style="max-width: 850px;" class="metaslider metaslider-flex metaslider-24304 ml-slider"> <style type="text/css"> @import url('https://www.curtislibrary.com/wp-content/plugins/ml-slider/assets/metaslider/public.css?ver=2.3.1'); @import url('https://www.curtislibrary.com/wp-content/plugins/ml-slider/assets/sliders/flexslider/flexslider.css?ver=2.3.1'); </style> <div id="metaslider_container_24304"> <div id="metaslider_24304" class="flexslider"> <ul class="slides"> <li style="display: none;"><a href="https://www.curtislibrary.com/25186-2/"><img src="https://www.curtislibrary.com/wp-content/uploads/2013/08/other-creator-rotating-gallery-bill1.jpg" height="360" width="850" alt="Bill Burke" class="slider-24304 slide-24762" /></a> <li style="display: none;"><a href="https://www.curtislibrary.com/24862-2/"><img src="https://www.curtislibrary.com/wp-content/uploads/2013/08/other-creator-rotating-gallery-maria1.jpg" height="360" width="850" alt="Maria Castellano-Usery" class="slider-24304 slide-24763" /></a> </div> </div>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Mike
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Meta Slider v. 2.3.1 xhtml validation error’ is closed to new replies.