Solved

Link not working

Posted on 2013-05-26
3
145 Views
Last Modified: 2013-05-27
I have a page with a slider.  You should be able to click on the image and open a new page.  However; this is not working.  I have it only on the first image at this point and now the first image in the slider is not showing... The page

http://www.menuhead.com/index.html

The code on the slider...
<div id="images">
			<div class="carousel">
					<a href="bigserach.php"><img src="../MetalSlider/img/Menuhead3.jpg" alt="mh" width="900" height="500"/></a>
	                <img src="../MetalSlider/img/Bigsearch1.jpg" alt="bs" width="900" height="500"/>
					<img src="../MetalSlider/img/Feedyourhead1.jpg" alt="fh" width="900" height="500" />
					<img src="../MetalSlider/img/Grabbamenu.jpg" alt="gm" width="900" height="500" />
					<img src="../MetalSlider/img/Blockbuster.jpg" alt="bb" width="900" height="500" />
                    <img src="../MetalSlider/img/Talkingheads.jpg" alt="th" width="900" height="500" />
				</div><!--carousel end-->	
			</div><!--images end-->

Open in new window

0
Comment
Question by:DS928
  • 2
3 Comments
 
LVL 54

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 39198604
Two things

1. put <div></div>'s around your carousel items i.e
<div><a href="http://www.menuhead.com/bigsearch.php"><img src="http://www.menuhead.com/MetalSlider/img/Menuhead3.jpg" alt="mh" width="900" height="500" border="0"/></a></div>
<div><img src="http://www.menuhead.com/MetalSlider/img/Bigsearch1.jpg" alt="bs" width="900" height="500"/></div>
<div><img src="http://www.menuhead.com/MetalSlider/img/Feedyourhead1.jpg" alt="fh" width="900" height="500" /></div>
<div><img src="http://www.menuhead.com/MetalSlider/img/Grabbamenu.jpg" alt="gm" width="900" height="500" /></div>
<div><img src="http://www.menuhead.com/MetalSlider/img/Blockbuster.jpg" alt="bb" width="900" height="500" /></div>
<div><img src="http://www.menuhead.com/MetalSlider/img/Talkingheads.jpg" alt="th" width="900" height="500" /></div>

Open in new window

2. Remove the float: left from here
#images img {
  display: block;
  xfloat: left;
  padding: 10px 0px 0px 10px;
}

Open in new window

0
 

Author Closing Comment

by:DS928
ID: 39199233
Thank you, so much!  Works perfectly!
0
 
LVL 54

Expert Comment

by:Julian Hansen
ID: 39199587
You are welcome - thanks for the points.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question