Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8415111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:21:08+00:00 2026-06-10T01:21:08+00:00

I have a div : <div class=ContainerBG> Special Ad </div> and a css :

  • 0

I have a div :

<div class="ContainerBG">
    Special Ad
</div>

and a css :

    .ContainerBG
{
    background-repeat: repeat-x;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
    font-family: Arial;
    color: #000000;
    width: 100%;
    line-height: 28px;
    font-weight: bold;
    background-image: url('Resources/images/ContainerBG.gif');
}

In all browsers and in IE9 the background is showing correctly, but in IE8 or less the background isn’t showing at all, however the other properties in ‘ContainerBG’ are working! and i a can see the background rendered correctly in IE Developer Tool!

I also tried :

 background: url('Resources/images/ContainerBG.gif') repeat-x;

i also tried to pass the style inline and it didn’t work!

If we replaced the div with a span for the same CSS it will work!
A test page is here please note that the left pane is the div i am talking about, and the right pane have the same code but using a span, as you can see the span is working but the div Not!!

Does anybody face same problem? Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T01:21:10+00:00Added an answer on June 10, 2026 at 1:21 am

    Ala, if I remove content: ' '; from .QAZ-layout-cell QAZ-sidebar1, I can see the background of the div. IE8 only supports the content property if a !DOCTYPE is specified.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a div having a css class MyClass. Inside this div, I can
I have a DIV container that is a CSS class defined on the top
If you have the following divs: <div class=container> <div class=something>some text</div> </div> <div class=container>
I have Div Container with css class: .content4 { height: 1400px; width: 920px; border:
I have an image <div class='container'> <img src='../images.jpg' alt='images' /> </div> I want to
i have got <div><a class='link' href='index.php' data-container='target'>Load</a></div> <div class='target'></div> i need to write jquery
I have a div class named switch control which has a div class named
for example I have the following: I want to go through each div class
I have something like this currently: <div class = className style = position: absolute;
i have my html something like this... <div class = content> <div class =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.