Results 1 to 4 of 4

Thread: Need hack to make IE behave

  1. #1
    Join Date
    Apr 2008
    Posts
    84
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Need hack to make IE behave

    I have IE7, and my test site: http://www.defossesdesign.com/mockups/box/
    is displaying fine in Firefox, as far as the space between the paragraphs, but IE7 is putting in way too much space.

    I'm using a javascript from http://typeface.neocracy.org/ to embed fonts. Works great, other than this problem, and that some fonts have too much space between the words, and the word-spacing property doesn't work on it.

    CSS file is at http://www.defossesdesign.com/mockups/box/styles.css

  2. #2
    Join Date
    Oct 2008
    Location
    Columbia Md
    Posts
    27
    Thanks
    1
    Thanked 8 Times in 8 Posts

    Default Star Hack

    You could try the following code at the beginning of your css.

    Code:
    * {margin:0;}
    It gets assigned to everything. Make sure you give margins to elements that need margins. The one warning about hacks is that they may not be forward compatible with newer browsers.

    You could get the same effect by using
    Code:
    div, p, table {margin:0;}
    The margin attribute only applies itself to div, p, and table tags.

  3. #3
    Join Date
    Apr 2008
    Posts
    84
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Yah, I tried that first. Didn't help.
    Last edited by Geezer D; 11-08-2008 at 01:39 PM.

  4. #4
    Join Date
    Apr 2008
    Posts
    84
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Sorta fixed it. The line-height property seams to help.

Bookmarks

Posting Permissions

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