Anchor in list elements not filling available space with display:block and height/width set to 100%


In the fiddle below i would like to the anchor elements to occupy all of the aviailable space of their parent li elements:

<a href="http://jsfiddle.net/nmxmT/" rel="nofollow">http://jsfiddle.net/nmxmT/</a>

Can't see what i have done wrong :(


Put the padding on the a instead of the li and take the width off of the a.

<a href="http://jsfiddle.net/Gb38x/" rel="nofollow">http://jsfiddle.net/Gb38x/</a>


  • Adjust cell width in grouped UITableView
  • Is there such a thing as static jar linking in java?
  • How to resize UIViewControllerWrapperView
  • auto layout leading or trainling -16
  • how to download csv with fusion charts in codeigniter
  • Simple regex for domain names
  • How to correctly get a WinForms Button control to draw custom text
  • How to avoid or stop multiple ajax request
  • How to reshape a 3D numpy array?
  • How to make SASS put relative paths in its output
  • Jquery resizable reposition handle after scroll
  • IE11 textarea loses focus if another textarea is disabled
  • HighCharts - Show tooltip on column where value is 0 or null
  • is it possible to insert a line break in this tooltip?
  • Issue with routerLink directive
  • How to create CGPath from a SKSpriteNode in SWIFT
  • Django model inheritance, filtering models
  • Force show.bind execution
  • How Lists (specifically, RecyclerView with CardViews) in Android work
  • How do I pass the string value parameter of the selected list item from an auto-populated dropdown l
  • Disable Enter in editText android
  • Using jQuery closest() method with class selector
  • Insert into database using onclick function
  • Splitting given String into two variables - php
  • Encrypt data by using a public key in c# and decrypt data by using a private key in php
  • Why HTML5 Canvas with a larger size stretch a drawn line?
  • Why doesn't :active or :focus work on text links in webkit? (safari & chrome)
  • Join two tables and save into third-sql
  • When should I choose bucket sort over other sorting algorithms?
  • Jquery - Jquery Wysiwyg return html as a string
  • 0x202A in filename: Why?
  • Unanticipated behavior
  • bootstrap to use multiple ng-app
  • How to get icons for entities from eclipse?
  • Turn off referential integrity in Derby? is it possible?
  • How does Linux kernel interrupt the application?
  • Linking SubReports Without LinkChild/LinkMaster
  • JaxB to read class hierarchy
  • Easiest way to encapsulate a HTML5 webpage into an android app?
  • Observable and ngFor in Angular 2