Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 07-29-2012, 05:16 PM
Junior Member
 
Join Date: 12-29-11
Posts: 7
iTrader: 0 / 0%
CSS Sprites Help needed

Hello,

I have a vbulletin powered website and I need to combine all skin images into one for performance issues, but I am having a big problem finding the right solution for this.

This is some examples of my CSS codes that my skin images are used , I need to use a CSS Sprite for them :
Code:
body { background: #FFFFFF url(http://domain.net/images/gradient_body.gif) repeat-x top left; color: #2b6d9f; font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; margin: 0px; padding: 0px; } .alt1, .alt1Active { background: #E9E9E9 url(http://domain.net/gradients/gradient_alt.gif) repeat-x top left; color: #16334b; font-family: arial; border: 1px solid #D8D8D8; } .alt2, .alt2Active { background: #E9E9E9 url(http://domain.net/gradients/gradient_alt.gif) repeat-x top left; color: #16334b; border: 1px solid #D8D8D8; } .inlinemod { background: #FFFFCC; color: #000000; } .wysiwyg { background: #E9E9E9 url(http://domain.net/gradients/gradient_alt.gif) repeat-x top left; color: #767676; font: 10pt trebuchet MS,verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; margin: 5px 10px 10px 10px; padding: 0px; } iv#wrapper{background:#FFF url(http://skin.vetarena.net/misc/border_left.gif) no-repeat top left;width:945px;margin:0 auto} div#wrapper-inside{background:url(http://skin.vetarena.net/misc/border_right.gif) no-repeat top right}
I have created the combined image and I got the proper locations of these images, but I don't know how to use them as CSS backgrounds (cause there shouldn't be any template edits.. in other words its kind of impossible since there is tones of templates in vbulletin that should be changed ===> we should use only CSS to perform this)

Any help about this issue is really appreciated....


regards
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS sprites ellys Coding Forum 5 07-10-2012 02:00 AM
What is CSS Sprites? How it works? How to use it? PromoDirect SEO Forum 0 09-19-2011 07:07 AM
Traffic Exchange Partner Needed 50/50 Share No Investment Needed chrisj383 Joint Ventures 0 11-24-2009 05:28 AM
Sprites Issue screntropy Coding Forum 1 09-24-2009 03:56 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 08:43 PM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.