Recent Topics

[3.3.3] Background best practices

Started by on Apr 05, 2011 – Contents updated: Apr 05, 2011

Apr 05, 2011 00:28    

My b2evolution Version: 3.3.3

I need help here. I'm trying to make my background consist of an image on top, then fade to a solid color (all done in a single image), but then below that, just repeat a single pixel line of color indefinitely or a background color. See here: http://desrosiersconstruction.org/index.php/home/ What you're looking at is one huge image with the blue up top, the yellow line and the grey fade below. I'd like to just have the grey fade stop at say #e3e3e3, then use a background color to go from there, down. But when I use this:

Code

background:#e3e3e3;
  background:url(img/bluewash.jpg) top repeat-x; margin:0 auto 10px auto;
I get either just the solid grey or just the image with white behind it, depending on which attribute I put first. How do I get BOTH: the image on top of the grey?


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.