Avatar of groovyjon
groovyjon
 asked on

Image sprite next to radio button in IE6

I want to have the following appear all on the same line: radio button, image sprite, text. The code below works fine in all browsers but IE6. In IE6 the sprite+text appear on the line below the radio button. I've tried everything to get it working in IE6 but nothing seems to work. Any suggestions?

 
.iconplustext {
	display: inline-block; 
}
.reviewstars10 { 
	width: 65px;
	height: 14px;
	background: transparent url("/images/sprite-reviewstars.gif") no-repeat 0 0; 
	display: inline-block;
	background-position: 0px -28px; 
	left: 0px; top: 0px; 
}
.reviewstarslabel {
	margin-left: 70px;
}



<div style="height:120px;">
	<label for="overallRating">Overall rating</label>
	<div style="display:inline; text-align:middle; position:absolute;">
		<div class="iconplustext">
			<input type="radio" name="overallRating" value="1" > 
			<div class="reviewstars10"> <span class="reviewstarslabel">Very poor</span></div>
		</div><br/>
	</div>
</div>

Open in new window

CSS

Avatar of undefined
Last Comment
Jagadishwor Dulal

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Jagadishwor Dulal

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes