Right border not displaying on google chrome

I have a div which contains an a with some border. See:


It works great in FF and IE, but why doesn't the right hand side render in Chrome? Is it invalid CSS? (testing in chrome OSX if that matters)


Test case: Included so this question still makes sense after the content at the given URL changes:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 
<html><head><style type="text/css">
div {
  float: left;
  clear: left;
  margin: 3px;
span {
  border: 1px solid;

<!-- does not show right border -->
<div><span>With trailing space, no width </span></div> 

<!-- does show right border -->
<div><span>No trailing space, no width</span></div>
<div style="width: 40ex;"><span>With trailing space, has width </span></div>
<div style="width: 40ex;"><span>No trailing space, has width</span></div>


Verified in Google Chrome (Official Build 33992) with WebKit 532.6.

Need Your Help

dijit tree not able to get child from collapase tree

tree dojo children

My dojo tree is very huge. I need to expand one node at time to increase the performance. My tree have check box. When one check a parent node , I need to know all the child of the parent , also th...

Can a .NET assembly be verified independently of any other assemblies it might reference?

.net cil peverify

In other words: For a .NET assembly to be verified, do any of the referenced assembly need to be read and analyzed too? What does PEVerify tool do?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.