Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Float seems to be stopping Links working

1:55 pm on Jul 16, 2011 (gmt 0)

New User

5+ Year Member

joined:July 16, 2011
posts: 2
votes: 0

Hey guys,

I'm designing a portfolio website for myself and am having trouble with a float tag.

I'm using images to act as links to a colorbox popup, they are lined up in rows of three using a float: left tag. But for some reason when I use the float tag it stops the link from working. When I take it away the images drop one by one under each other but the links work. any ideas?


<div id="content" >
<ul class="column" >
<li >
<div class="block" >
<a class='example6' href="http://player.vimeo.com/video/26439888" title="Taragana Pyjarama - Ocean">
<img src="http://b.vimeocdn.com/ts/174/650/174650223_200.jpg" alt=""></a>


ul.column {
margin: auto;


ul.column li {


Apologies for being a bit slow at all this in advance :P
4:12 pm on July 16, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member penders is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2006
posts: 3123
votes: 0

The code snippet you have posted works OK.

If a link has stopped working like this (for whatever reason) then it is likely that another element is covering it. If they are positioned correctly then you need to identify the other element that is obstructing the user from clicking through. Firebug in Firefox or the developer tools in IE can help with this.

Or simply give every element a temporary border to have a check...

* { 
border:1px solid #f00;
2:30 am on July 17, 2011 (gmt 0)

New User

5+ Year Member

joined:July 16, 2011
posts: 2
votes: 0

Thank you so much! Found the problem straight away after reading this.
9:57 am on July 23, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Aug 9, 2008
posts: 961
votes: 0

Great to hear you have a solution Canty - and welcome to WebmasterWorld :)

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members