Hi Guys
what if to add an image as background inseat of color! what will be the code to use?
Hi Guys
what if to add an image as background inseat of color! what will be the code to use?
Get yourself a copy to TopStyle Lite and use it to manipulate your css.
If you wanted an image to the body, you would changetoHTML Code:BODY { background-color: #353535; /*#e5edf5;*/ color: #353535; margin: 0px; margin-bottom: 10px; padding: 0px; font: 11px Verdana, Arial, sans-serif; }HTML Code:BODY { background-image: url(imagepath/imagename); color: #353535; margin: 0px; margin-bottom: 10px; padding: 0px; font: 11px Verdana, Arial, sans-serif; }
A little help with colors.
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
I always use background-color when I use background-image with a color close to the main color of the image. If the image is slow to load, the color will "cover" for the slowness.
Code:#mainWrapper { background-color: #000000; background-image: url('../images/space011.jpg'); text-align: left; width: 100%; vertical-align: top; }
Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.
Holzheimer
Fan Odyssey