Talk with us

Atelier Studios Limited
19A London Road
Southampton
SO15 2AE  UK

t: +44 (0) 23 8022 7117
f: +44 (0) 23 8033 4075

Registered Office Address:
Atelier Studios Limited, The French Quarter, 114 High Street, Southampton, Hampshire, SO14 2AA UK

Company Registered in England No: 4337925
Registered for VAT No: 803 0054 89

Atelier Studios are registered with The
Information Commissioner (IC) under the Data
Protection Act 1998 and the Data
Protection Register.

Please use this form to get in touch with us
(* denotes a required field):



Closing the gap in IE

thumbA long-standing bug in Internet Explorer is the gaps it likes to insert between list items that contain block level elements, if there is any whitespace between the list items in the markup. You have probably seen it in action more times than you want to.

the release version of IE 7 still suffers from it

This bug was thought to have been fixed in IE 7 RC 1, and perhaps it was. That doesn’t really matter since the release version of IE 7 still suffers from it in certain circumstances. Just in case you’re looking for something that will fix this problem in both IE 6 and IE 7, I wanted to share this piece of knowledge. I originally thought this would soon be obsolete, but unfortunately that does not seem to be the case.

There are several different ways to skin this cat, but I found this the simplest to implement.

Assigning a width to the links. Like this:

li {
width:200px;
padding:0px;
margin:0px;}

*If you do this make sure to have a set width on your surrounding element.

I’ve found that this works in both IE 6 & IE.

  • del.icio.us
  • Facebook
  • Google
  • LinkedIn
  • MySpace
  • StumbleUpon
  • TwitThis

Comments are closed.

Like what you see? Don't hesitate to get in touch with us and discuss your project.
t: +44 (0) 23 8022 7117   f: +44 (0) 23 8033 4075