Geoffrey Hoffman wrote:
> I've already had a look at trying to force hasLayout, using zoom: 1 [1],
> and other IE6/7 inline-block posts[2] but none seem to work in my case. 
> 
> Any suggestions?

The display:inline must be in a separate rule for IE.
This should do it:

~~~
h1
   {
     border-bottom: 1px solid maroon;
     display: inline-block;
     font-size: 160%;
     font-family: "Times New Roman", Times, serif;
     font-variant: small-caps;
   }
h1
   {
     /* FOR IE: _MUST_ BE IN A SEPARATE RULE */
     display: inline !ie;
   }
<h1>Lorem Ipsum Dolor Sit Amet</h1>
~~~

Hope it helps.
--Bill

-- 
<!--
  ! Bill Brown <macnim...@gmail.com>
  ! Web Developologist, WebDevelopedia.com
-->
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to