Solved

CSS Background image not showing up properly in IE6

Posted on 2008-06-11
4
4,790 Views
Last Modified: 2013-12-08
Hi - I have a background image set through CSS that shows up properly in Firefox 2 & IE7, but it doesn't render correctly in IE6.

It's the "Customer Testimonials" section at the bottom right.

Thanks in advance for any help.

/* Testimonials Style */

.sidec .quotes-quote {

	padding-right: 15px;

	padding-top: 35px;

	background-image: url(images/testimonials-top.jpg);

	background-repeat: no-repeat;

	background-position: top right;

	font-size: 7.5pt;

	color: #868686;

	padding-bottom: 5px;

	text-align: left;

	padding-left: 30px;

	display: block;

	float: none;

}

/* Testimonials Style */

.sidec .quotes-author {

	padding-right: 15px;

	margin-top: -20px;

	font-size: 7.5pt;

	color: #868686;

	background-image: url(images/testimonials-bottom.jpg);

	background-repeat: no-repeat;

	background-position: bottom right;

	display: block;

}

Open in new window

0
Comment
Question by:templeku
  • 2
4 Comments
 
LVL 42

Expert Comment

by:David S.
ID: 21765292
Try giving hasLayout to ".sidec .quotes-quote" and ".sidec .quotes-author". To understand what hasLayout is, read this:
http://www.satzansatz.de/cssd/onhavinglayout.html
(I discourage the use of the underscore hack, which it recommends though.)

You'll probably want to set the bottom margin on ".quotes-author p" to 0 as well.
0
 
LVL 4

Expert Comment

by:FSIFM
ID: 21769148
add to the css

sidec {
height: 100%;
}
0
 
LVL 4

Accepted Solution

by:
FSIFM earned 125 total points
ID: 21769164
sorry i meant

.sidec {
height: 100%;
}

(i forgot the dot before the sidec class)

0
 

Author Closing Comment

by:templeku
ID: 31466314
So quick and easy!  Thanks a lot!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reinstall Putty Windows 7 5 45
CSS z-index issue 3 19
Standard for Web Development 3 26
Is the 2017 Annual Visitor Survey on Chrome a Virus? 11 16
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now