css-sprites

jQuery toggle to change image

I have a list of divs with images in them: <div class="wizard-img"><%= image_tag("sources/pix/nyt.png") %></div> <div class="wizard-img"><%= image_tag("sources/pix/theguardian.png") %></div> When a user clicks the div, I'd like it to change the image to x-on.png, when clicked again, it'll change to x-off.png, and when clicked a third ...

Z-index problem in IE7 with jquery superfish menu plugin

I needed to modify jquery superfish menu plugin to accomodate using image for the menu. Please have a look at this demo. http://www.okadadesign.no/vitaveritas/. There are submenus under Om oss and Medieomtale. I used sprites images for this menu. It works fine with IE8, FF etc. However IE7 has a problem to show submenus. It shows the s...

FireFox 3.5 Fetches Image Sprite Repetitively - how to prevent?

EDIT: Mozilla fixed the bug. This thread is dead. EDIT: This is a Mozilla bug. See this thread: https://bugzilla.mozilla.org/show%5Fbug.cgi?id=501853 I have a sprite I use for my images here: http://www.trailbehind.com/site%5Fmedia/images/sprite.png In FireFox 3.5, the sprite seems to get fetched every time I render an icon on my map,...

Can I use a csssprite on a submit button

I have two reasons I want to use csssprites for submit buttons : I have dynamically created button, which in the future might be localized I want just 1 HTTP request even if I have 5 buttons on the page The problem is that I want to avoid javascript for buttons, and therefore I need to use an input field of type image. I can set the ...

What are the advantages of using CSS Sprites in web applications?

I'm working on a website with reasonably heavy traffic and I'm looking into using a CSS sprite to reduce the number of image loads in its design. Are there any advantages to using a CSS sprite besides reducing the amount of transmitted data? How much space do you really save? Is there a threshold where using sprites becomes worthwhile t...

CSS sprites and IE6

Does IE6 support css-sprites? ...

How to make a CSS background image (sprite) to clickable area?

At the example of YouTube. Their logo comes in fact from a big master image containing other graphical elements. However one can click on the logo which point to the root of the site. I'm researching their HTML but still not quite sure how they achieved that. Could anyone please look at it and maybe explain it? ...

Weird CSS behavior (sprite nav w/rollover)

Here's the navigation image in question: What I want to do is pretty basic and I've done it numerous times in the past, I just can't understand why it isn't working right now. Basically use the above image as the nav background and adjust the widths and background-positions accordingly. Here is my CSS: #navigation { width: 960px; h...

How do you make a background image to adjust it's size to the containing element?

Check the rounded corners of the main tabs in this site Those are background images with width of 440px, and still it adjusts to the containing element without loosing the rounded edges. ...

How to find the proper offsets for CSS sprites?

I have a sprite image set as the background of an element on my page, but how do I find the proper offsets so I can actually see it on the screen? ...

Looking for a good image mouse over solution

I am working on a site that uses three small images as links to twitter, facebook, etc. I have a callout image that I would like to appear when I mouse over the image. The key here is that the callout image not interfere with the other images and text on the page. Is there a handy solution that would meet this need? ...

Create CSS sprites based on colour?

I have a large set of thumbnails I wish to display on a page (over 200). I'd like to use CSS sprites to load them to minimise the HTTP requests. I think putting all of them in one massive file is a bad idea, but splitting them into about 6 files of 40-50 thumbnails should work nicely. All of the thumbnails are fairly low colour (can be ...

css highlight current page

hi to all, I've found some tutorials regarding sprite navigation menu. My problem now when I make it locally, I tried to select each menu and it was not highlighted. Hover is working fine only highlighted selected menu is doesn't work. here is the link http://webberzsoft.com/tabmenu/services.htm Any help would very much appreciated. ...

SVG image sprites? Possible or not?

Has anyone ever used SVG for image sprites? I wish to replace a bunch of very similar GIFs and JPGs with some scalable SVG images, but the image gradient and button shape specifications bloat out the SVG. If I could create a composite diagram, then I might be able to reuse the gradients and base button shapes etc. I'm just not sure whe...

Is css-sprite a good technique?

is css-sprite good technique? I read about its pros at http://spriteme.org/ and have also I seen a lot of questions about css sprites here in stackoverflow. What are its cons? Will it work in all browsers as claimed in their site? ...

Non-traditional input using CSS sprites and JavaScript: opinions sought.

My client is very invested in using a bunch of non-traditional inputs in a form we are developing for him. The image below represents various states of the interface with the last indicated it is disabled in the current context. The end users will be trained in how to interact with the inputs. My idea is that we will develop an imag...

CSS sprites navigation and User with image disabled.....

I made a css menu with css sprites but the problem is with sprite we don't use inline image we use in background only so if images are disabled in browser then nothing will show . any solution for this ? For example : See this menu and turn off images : http://line25.com/wp-content/uploads/2009/css-menu/demo/demo.html (it will not be s...

Software/Plugin for css sprite generation

Hello, does anyone know if there exists any offline software or plugin(dreamweaver, etc) to generate a css sprite. That is: merging images and generating the css rules. I know there is a post here: http://stackoverflow.com/questions/527336/tools-to-make-css-sprites but all of those are online generation tools. ...

Cannot Load Image In IE5 And IE6 using Csssprites

Dear Friends, I am using csssprites in my application. Css images is successfully loaded all browser except IE 6 and IE 7 . I dont know how fix this problem. For Your Reference My Html Pages Blockquote <body><div class="follow_us_blogger"></bogy> My stylesheet .follow_us_blogger {background: no-repeat url('/design/cssspr...

Just noticed the `<i/>` tag on Twitter, did they make that up?

Twitter seems to be using an <i/> tag to display their icons from a css sprite. Did they just make up that tag, or is HTML I've never heard of? Brilliant idea at any rate :) ...