• Hi,

    using validator.w3.org I get an error message from this line of code:

    <?php
        }
            render_custom_styles($data['options']);
        } else {
    ?>

    Element style not allowed as child of element div in this context. (Suppressing further errors from this subtree.)

    This is this part:

    <style>↩
        .stars, .rr_star {↩
            color: #ffaf00;↩
        }↩
    </style>↩

    Is it possible to remove this part? And style the stars in my CSS file? If I remove the PHP part the page is broken… How do I remove the added <style>…</style> part of this code. I would like to remove this error on validator.w3.org.

  • The topic ‘Remove render_custom_styles($data[‘options’])’ is closed to new replies.