troubleshooting Question

HTML/CSS REL tag not working

Avatar of Henry Starcher
Henry StarcherFlag for United States of America asked on
HTMLCSSImages and Photos
11 Comments1 Solution140 ViewsLast Modified:
I have the following html code.
<div class="gallery">
<a rel="lightbox" href="images/jail/original%20jail.jpg" title="The Original Jail">
	<img alt="original jail" src="images/jail/original%20jail_small.jpg" class="image-border" /></a>
<a href="images/jail/current 1.jpg" rel="lightbox" title="The Original Jail">
	<img alt="original jail" src="images/jail/current 1_small.jpg" class="image-border" /></a>
<a href="images/jail/current_2.jpg" rel="lightbox" title="The Original Jail">
	<img alt="original jail" src="images/jail/current 2_small.jpg" class="image-border" /></a>
<a href="images/jail/current_3.jpg" rel="lightbox" title="The Original Jail">
	<img alt="original jail" src="images/jail/current 3_small.jpg" class="image-border" /></a>
<a href="images/jail/current_4.jpg" rel="lightbox" title="The Original Jail">
	<img alt="original jail" src="images/jail/current 4_small.jpg" class="image-border" /></a>
</div>

At the top of my page between the <head></head> I have the following:
<link rel="stylesheet" type="text/css" href="styles/style.css" />
<link rel="stylesheet" type="text/css" href="styles/lightbox.css" media="screen" />
<script type="text/javascript" src="Scripts/lightbox.js"></script>

The rel tag isn't working...any input on what I need to do would be greatly appreciated!
ASKER CERTIFIED SOLUTION
Henry Starcher
Consultant

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros