think tank forum

technology » ie 6: css letter-spacing messes up line breaks

lucas's avatar
15 years ago
link
lucas
i ❤ demo
if i specify letter-spacing, ie 6 ignores line breaks if i use more than one in a row.

take a look!

ff3 with letter spacing defined
ie6 with letter spacing defined
ie6 without letter spacing defined

i found someone else with the same problem:
http://forums.devshed.com/css-help-116/line-b … 28763.html

so now i use this code:
        <style type="text/css">
            @import "/lucas/stripes.css";
        </style>
        <!--[if lt IE 7.]>
            <script defer type="text/javascript" src="/lucas/pngfix.js"></script>
            <style type="text/css">
                * {letter-spacing: 0;}
            </style>
        <![endif]-->


ie6 users don't deserve good typography.
asemisldkfj's avatar
15 years ago
link
asemisldkfj
the law is no protection
weird.
lucas's avatar
15 years ago
r1, link
lucas
i ❤ demo
i got this email today:

Date: Tue, 03 Feb 2009 18:52:17 -0500
From: Tom Warfield
To: lucas@wingedleopard.net
Subject: Just wanted to say "thanks".

Thanks for the CSS/HTML tip about "letter-spacing" in IE6
- your post here
https://www.thinktankforums.com/thread.php?thread_id=1897
described my problem exactly, and the solution!
-TW

Warfield Consulting provides Information Technology and Database Support
Services to Small and Mid-Sized Companies
Data and Metadata Management
Data Warehouse Design and Implementation
Oracle PL/SQL, Microsoft T-SQL, OLAP, SSAS, DTS, SSIS
Web Site and Database Integration, PHP and MySQL
We welcome your referrals: http://www.warfieldconsulting.com/offer

asemisldkfj's avatar
15 years ago
link
asemisldkfj
the law is no protection
appreciation of documentation warms my heart :).