Results 1 to 4 of 4

Thread: Border problem: Why does this look so bad in IE?

  1. #1
    Join Date
    Mar 2008
    Posts
    46
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default Border problem: Why does this look so bad in IE?

    Working on someone else's site:
    http://www.contentx.com/shotwellpr/
    Styled a box and a list inside a table on the homepage (right side) with this code for the box:
    .news
    {
    width: 259px;
    text-align:
    left; padding:1px 5px 2px 0px;
    background-color: #eae9d8;
    border-right: solid grey 1px;
    border-left: solid grey 1px;
    }
    And this code for the list:
    li.rss
    {
    background-position: center;
    list-style-image:url(images/rss.png);
    padding-right: 10px;
    font-size: 11px;
    line-height: 14px;
    list-style-position: outside;
    margin: 1px;
    text-indent: -0.1em;
    }

    Looks great in Firefox, Safari etc. but the borders are thick and clunky in IE6 and 7 and the div doesn't extend all the way over to the right.

    Does IE not like border: solid grey 1px?
    Is there a better way to state this?

    Thanks for your help in advance!
    Cheers
    zack
    Last edited by zeech26; 02-19-2009 at 07:58 PM. Reason: fixed

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    I don't really see any difference, but in any case, the correct order would be:
    Code:
    border: 1px solid grey;
    Good luck!

  3. #3
    Join Date
    Mar 2008
    Posts
    46
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default That seemed to fix it!

    Thank you!
    Still weird spacing issue, but I will figure that out.
    cheers!
    zack

  4. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    You're welcome, glad to help!
    You can go to your first post in this thread, click then click Go Advanced and add the Resolved prefix to the thread title.
    This will let other users know the problem has been solved.

    Good luck with your site!

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
  •