www.webdeveloper.com
Results 1 to 5 of 5

Thread: Line Spacing in IE for Mac

  1. #1
    Join Date
    Jun 2005
    Location
    Bermagui, Australia
    Posts
    51

    Line Spacing in IE for Mac

    My text is double spacing in IE for Mac.
    Renders fine in Firefox, Safari, Netscape, Opera (haven't tried PC).
    No line height attribute applied in CSS.

    Anyone come across this problem before?.. and/or found a solution?

    Cheers, Monkeyman

  2. #2
    Join Date
    Jun 2005
    Location
    Bermagui, Australia
    Posts
    51

    Wink

    OK, I just found the solution myself! Previously I had just attributed the main text style to the Body tag in the style sheet.
    eg
    body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #333333;
    }


    I found that if I create a custom class (eg .text1) and apply it as a <span class="text1"> to the text, IE displays it correctly.

    Suweet mate!

  3. #3
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    There are lots of things with CSS that do not and never will work properly on IE on the Mac since that browser became abandonware in 2003.

    Current Mac web browsers are Firefox and Safari.
    Stephen

  4. #4
    Join Date
    Jul 2005
    Location
    USA
    Posts
    3,910
    Don't forget Opera and Omniweb.
    Learn CSS. | SSI | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions

    Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around.

    Check out my blog.

  5. #5
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    I was thinking of the main two. Of course there are lots of others eg. iCab. The only browser that no longer exists on the Mac is IE.
    Stephen

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles