Welcome Guest[18.221.8.126], connected from Columbus, Ohio
Inserting image instead of rgb color in theme
|
08-01-2010, 10:53 AM
(This post was last modified: 08-01-2010 11:14 AM by Mobius.)
Post: #1
|
|||
|
|||
Inserting image instead of rgb color in theme
Hello, i've got something like this in global css of my forum:
.thead { background: #303B4A; color: #ffffff; padding: 8px 8px 8px 15px; I would like to insert an image to background instead of color, how it can be done? edit: I'm sorry for another issue I resolved by myself.... background: url(image_direct_link); i.e. Code:[Highlight] background: url(http://www.someimagehost.com/image.jpg); |
|||
08-01-2010, 11:59 AM
(This post was last modified: 08-01-2010 12:01 PM by exdiogene.)
Post: #2
|
|||
|
|||
RE: Inserting image instead of rgb color in theme
May i suggest a better solution :
Code:[Highlight] background: #303B4A url(http://www.someimagehost.com/image.jpg); This way if the image is not available or do not cover enough room then the color would be used for the rest of the background... |
|||
08-01-2010, 12:10 PM
(This post was last modified: 08-01-2010 12:10 PM by Mobius.)
Post: #3
|
|||
|
|||
RE: Inserting image instead of rgb color in theme
(08-01-2010 11:59 AM)exdiogene Wrote: May i suggest a better solution : Great to know that it will be useful for my first own theme thank you |
|||
0 member(s) viewed this thread in the last 365 days :
|
« Next Oldest | Next Newest »
|
WWWHostingServer.com
|
||||||
|
||||||
|
Possibly Related Threads... | |||||
Thread: | Author | Replies: | Views: | Last Post | |
Image resizer | deradian | 0 | 762 |
10-19-2011 12:42 PM Last Post: deradian |
|
Changing the color of private shout in MyShoutbox | Mobius | 5 | 5,328 |
05-11-2011 09:35 AM Last Post: Mlody |
|
Stats Image | skiilz | 34 | 6,190 |
05-25-2010 07:27 PM Last Post: php4pro |
|
|
|
|
Powered By MyBB, © 2002-2024 MyBB Group. Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes. Hosting provided by WWWHostingServer.com |