Results 1 to 7 of 7
  1. #1

    Default Sidebox Background Color IE

    I have modified the entire sidebox of my site to be one color. (green).
    In the style sheet.

    My problem is Internet explorer ignores the style in my stylesheet and displays a grey background (testing with all right sideboxes off). I do get a green background with IE when a sidebox is enabled but the background is only green for the size of the sidebox then the rest is grey.

    Firefox - no problems... entire right sidebox is green!!! Looks great.

    Is this due to the fact that Internet explorer needs some sort of content say a
    nbsp to display styles?

    How can I fix this in Internet Explorer?

    Thanks,

  2. #2
    Join Date
    Sep 2007
    Posts
    219
    Plugin Contributions
    0

    Default Re: Sidebox Background Color IE

    Is this on a test server or is there a url where we could take a look?

  3. #3

    Default Re: Sidebox Background Color IE

    Here are the screen captures. Site is not live at the moment.

    Explorer



    Firefox


    Thanks,

  4. #4
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Sidebox Background Color IE

    Hi,

    All you should need is...
    HTML Code:
    #navColumnTwo {background-color: green;}
    ...in your stylesheet. I just tested that and it works fine in FF 2 and IE 6.

    Regards,
    Christian.

  5. #5
    Join Date
    Sep 2007
    Posts
    219
    Plugin Contributions
    0

    Default Re: Sidebox Background Color IE

    Its weird I don't usually have an issue, normally setting the background-color is sufficient for #navColumnTwo and without having code to look at its difficult to see whats happening.

    If you posted your css sheet, I could apply it to my test site (a clean install) maybe that would show me whats wrong...

  6. #6
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: Sidebox Background Color IE

    Try the "!important" hack.

    Something like this:

    Code:
    #navColumnTwo {background-color: green !important;}
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  7. #7

    Default Re: Sidebox Background Color IE

    I eventually found the culprit... Thanks for all the help.

    There was a 1 pixel high background image file that I didn't see on my slices...
    I never updated the image and for ie when blank it just showed the background..

    Thanks for the help!

 

 

Similar Threads

  1. HELP! - Sidebox Header Background Color
    By expresso in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 1 Feb 2009, 03:58 AM
  2. Changing sidebox background color
    By DJReda in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Jan 2008, 05:49 PM
  3. Sidebox background picture instead of Color
    By san_san in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Sep 2006, 03:54 PM

Posting Permissions

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