Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Nov 2007
    Location
    Pacific Northwest
    Posts
    26
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Body centered shadow bg - funked up in IE6, and Safari...

    I created a shadow to appear behind my main content in the blog I've created here: http://www.classicalacupuncturehealingarts.com/

    However - in Safari and in IE6 and below, the shadow is set about 60 pixels to the right. It looks fine in Firefox and IE7.

    How have you guys fixed this in the past?

    Also - I have the png issue in IE6 - I see that someone recently posted a similar issue - but I'm considering just making a conditional stylesheet for IE6 or creating a gif instead. Any opinions on this?

    Thanks for reading
    Who ranks as the highest? One who does not harm anything. One who never retaliates. One who is always at peace regardless of the other person's disposition. - Buddha

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Hi there..

    No need to explicitly put width:864px for all the inner elements of #container. All block level elements would nicely occupy the available space in the normal flow. Again, if there is some margin/padding, then the total width calculation may again get messed up.
    eg:
    #bottom {style.css (line 99)
    background:transparent url(images/bot.png) no-repeat scroll 0%;
    height:92px;
    padding-left:190px;
    padding-top:25px;
    width:864px;
    }
    This will certainly make an horizontal scroll bar in some browsers (1024 resolution)
    (If you are trying to center the text, just use text-align:center; and remove all paddings and floats)

    So just remove them all, and let me know in case of any further issues
    Last edited by abduraooft; 08-28-2008 at 09:51 AM.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    celticsaddict (08-28-2008)

  • #3
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    ..and to your PNG issue, http://www.codingforums.com/showthread.php?t=147204 may help!
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #4
    New Coder
    Join Date
    Nov 2007
    Location
    Pacific Northwest
    Posts
    26
    Thanks
    7
    Thanked 0 Times in 0 Posts
    any insight on the body bg-shadow issue? should i instead create an additional container?
    Who ranks as the highest? One who does not harm anything. One who never retaliates. One who is always at peace regardless of the other person's disposition. - Buddha


  •  

    Posting Permissions

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