View Full Version : Background Image vs. Color
August 27th, 2006, 05:04 PM
Can the various stylesheets be editied to implement a background image? I have edited one of the stylesheets and know how to edit the background color:
background: #CECF9F url(http://www.domain.com/image.jpg);
Just wondering if there is a tag that would allow one to implement a backround image instead of a single color?
August 27th, 2006, 06:23 PM
See your post above I added what a normal css would look like with image tag ;)
August 27th, 2006, 08:51 PM
I'm not getting it. I tried to add a URL tag below the background tag but can't get it to work. You mention a "normal" CSS tag. How do I implement it in the PP CSS?
Here's what I tried:
Are your parenthesis in the correct places? Here's the image URL I'l trying to add: http://www.trophypix.com/gallery/stonbk.jpg
Please let me know the exact code/change. Thanks in advance.
Do I delete the "background" tag? I tried that but to no avail.
August 28th, 2006, 07:58 AM
It's all one line and is as I posted in your post
background: #DDE0E4 url(http://www.domain.com/forums/images/satellite/gradients/gradient_tcat.gif);
August 28th, 2006, 05:36 PM
June 16th, 2008, 04:58 PM
Thanks very much Chuck, that worked for me as well.
June 17th, 2008, 08:44 AM
Glad to assist let us know if there is anything else we can assist with and have a good day.
January 11th, 2009, 06:54 PM
Thanks so much for this! I got mine to work also but have another question somewhat related to this.
I have a .png image for my header and I'm using an image map. When I put my background in, the header doesn't look transparent anymore, there's a big white box background behind it. Is there something I need to change in the code for my image map to get this to show up transparent like it should be? Thanks!
January 11th, 2009, 07:02 PM
This would depend on your actual map images and logos. As long as things are truly transparent images it should work.
January 11th, 2009, 07:04 PM
Yes it is definitely transparent, I just checked it again. You can see for yourself here if you want. JenU Designs Gallery - Main Index (http://www.jenu-designs.com/gallery)
January 11th, 2009, 07:09 PM
Also, here is the image map code that I am using.
<img src="http://www.jenu-designs.com/images/JenU_LogoMain.png" width="969" height="407" border="0" alt="Jen Ulasiewicz Designs" usemap="#splash_Map" />
<map name="splash_Map" id="splash_Map">
<area shape="rect" alt="Home" coords="80,150,325,300" href="http://www.jenu-designs.com/" />
<area shape="rect" alt="Portfolio" coords="250,310,375,370" href="http://www.jenu-designs.com/photography/" />
<area shape="rect" alt="Store" coords="425,270,520,335" href="http://www.jenu-designs.com/store/" />
<area shape="rect" alt="Blog" coords="530,275,618,338" href="http://jenu-designs.com/blog/" />
<area shape="rect" alt="Gallery" coords="620,295,758,350" href="http://www.jenu-designs.com/gallery/" />
<area shape="rect" alt="About Us" coords="762,315,870,375" href="http://jenu-designs.com/store/index.php?main_page=page_4" />
January 11th, 2009, 07:32 PM
That specific image looks fine.
January 11th, 2009, 09:19 PM
Ok I found it. I had the background set in the header file to white so when I removed that it was fine. Sorry for bothering you with that.
January 12th, 2009, 08:36 AM
Not a problem have a great day.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.