Solved

CSS Sprite Bubble

Posted on 2009-06-27
2
435 Views
Last Modified: 2012-05-07
http://www.orbismedia.in/about-orbis.html

In Ie6 onload the bubble on top link background is cutoff. Only part of the sprite image is showing off. All other browsers are perfect. Not sure what is problem.

Any help?
0
Comment
Question by:sajayj2009
2 Comments
 
LVL 12

Expert Comment

by:Chad Haney
ID: 24728826
Looks like the margin-right is not working out properly.  If you zoom in on firefox, there is a sliver of space between the images, but if you cut down from 29px to 28px you will get an overlap of the images.

Try using this as well, placed under the current margin right.
_margin-right: 28px;


.lavaLampWithImage li.back .left {
	background: url(../images/bubble.png) no-repeat 0px -1px;
	_background: url(../images/bubble.png) no-repeat 0px -1px;
	height: 65px;
	min-width:inherit;
	margin-right: 29px; /* 7px is the width of the rounded shape */   /*this seems to be where your issue lies*/
}

Open in new window

0
 
LVL 12

Accepted Solution

by:
sajayj2009 earned 0 total points
ID: 24733841
Onload time IE6 still shows the bubble image is cutoff amd aligned to left.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

810 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