View Full Version : Non repeating Background

Death Dream
01-02-2008, 07:59 PM
Below I have an image to clarify what I am going through.

I am pretty much making a gradient with two bars that will match up with the banner. I just have a problem with the background repeating.

Also I did my searching as well and this was the closest thread i could find to my problem: http://www.dreamweaverclub.com/forum/showthread.php?t=24298&highlight=Gradient+Background Although this guy had half the stuff done it seems.

What would the code be to fix this issue?

Death Dream

01-02-2008, 09:00 PM
Set you background with CSS and use a shorthand like this:
yourelement {background: url(yourimage.gif) no-repeat;}

Death Dream
01-03-2008, 01:26 PM
Actually, I am surprised I didn't look closer at the options I had available to me. There is a GUI interface that lest you pick what you want which is nice. I'm use to older versions of DW.

My code looks like this now:
{background-color: #014559;
background-image: url(Images/Static/Background.jpg);
background-repeat: repeat-x;}

Pretty much what you said :)

~Death Dream~