Forums

[resolved] Lightbox CSS Validation (4 posts)

  1. epicalex
    Member
    Posted 2 years ago #

    anyone validated the lightbox CSS file? im getting some errors, not really sure how to sort it, my site is http://www.epicskitours.com

    thanks

  2. breakingball
    Member
    Posted 2 years ago #

    I had a similar issue when I appended the lightbox.css file to my theme's style sheet, but when I removed it and added

    <link rel="stylesheet" href="http://xxx.com/xxx/wp-content/plugins/lightbox/css/lightbox.css" type="text/css" media="screen" />

    to the <head> tag in my theme's header.php file, the CSS validated.

  3. epicalex
    Member
    Posted 2 years ago #

    i'm pretty sure that's what i've done, but i'm still getting errors,
    see here for errors:
    http://jigsaw.w3.org/css-validator/validator?uri=http://www.epicskitours.com/

    this is the head section of my header file where the css is called

    <link rel="stylesheet" type="text/css" title="Default Style" href="<?php bloginfo('stylesheet_url'); ?>" media="screen, projection" /> 
    
    <!--[if IE]>
    <style type="text/css">
    @import "http://www.mydomain.com/wp-content/themes/epic/styleIE.css";
    </style>
    <![endif]-->
    	<link rel="stylesheet" href="http://www.mydomain.com/wp-content/plugins/lightbox/css/lightbox.css" type="text/css" media="screen" />
    	<script type="text/javascript" src="http://www.mydomain.com/wp-content/plugins/lightbox/js/prototype.js"></script>
    	<script type="text/javascript" src="http://www.mydomain.com/wp-content/plugins/lightbox/js/scriptaculous.js?load=effects"></script>
            <script type="text/javascript" src="http://www.mydomain.com/wp-content/plugins/lightbox/js/lightbox.js"></script>
    	<?php wp_head(); ?></head>

    i hope people can help, i really want to get this site validated properly

  4. epicalex
    Member
    Posted 2 years ago #

    if anyone comes across this, there has now been a new release, v2.03, and it has been css validated

Topic Closed

This topic has been closed to new replies.

About this Topic