css-sprites
How can I replace the img with a DIV that has a background image?
I want to optimize my code. I think I am correct in saying that if I combi开发者_StackOverflow社区ne multiple images into one file then I can\'t use the position attribute unless the images are part o[详细]
2023-03-30 13:55 分类:问答IE8 Sprite Sheet Backgrounds Disappearing
I am having some issues with these background images I am using for a menu on my app. In IE (7 and 8, maybe 9) the images seem to fall under the background of the item below it, which happens to have[详细]
2023-03-29 11:40 分类:问答CSS Navigation - First anchor/button in list does not work when all others do?
I have created a horizontal navigation bar similar to many I have done before.Inexplicably, the first link does not function properly but all others do.When I roll over the link with the mouse, two th[详细]
2023-03-29 10:49 分类:问答Compass: generate Sprites, plus width / height on each images in the sprite
I\'m using Compass (a CSS Framework) to generate sprite images. It work, but compass generate only a background-position for each image.[详细]
2023-03-28 03:24 分类:问答CSS: using image sprites with css pseudo classes :before and :after
I have never tried that before. I created an image sprite that is contains two icons. Each icon is 26px wide and high. So the sprite is 26x52px.[详细]
2023-03-27 23:21 分类:问答CSS menu background positioning problem
Hi i have a css menu but there is a problem and i cant figure out why it happens my problem is i have a png background with buttons normal, hover and selected states. Background image is like this[详细]
2023-03-27 00:16 分类:问答Sass/Compass and Sprites: How do I pick random images for a page-specific sprite?
I am using sass/compass and want to take advantage of compass\'s sprite feature. The project I am on is in a long-standing application where the images are all scattered around in the images folder.[详细]
2023-03-26 21:40 分类:问答Why does my sprite not work on iOS/Android, but works fine in Safari/Chrome?
The images in question are on the bottom toolbar when you select a photo and then tap it to bring up the toolbar.It\'s perfectly positioned in Safari, but nowhere in sight in mobile safari.Here\'s an[详细]
2023-03-26 18:34 分类:问答CSS Sprites - How to Align-bottom all Sprite Buttons
I have 9 Buttons along the bottom nav of my web app (think iOS nav bar - but this is NOT a mobile app).[详细]
2023-03-24 00:08 分类:问答Any Javascript libraries can do local image creating and rendering on demand?
I am building a browser game. It is a tile based game (pretty much like Pokémon if you are familiar with). I built a similar game using C++ about 9 years ago. I still have all the images and music th[详细]
2023-03-22 03:14 分类:问答