Jump to content

Recommended Posts

Posted

I recently wanted to change my background because my last one was plain grey. This time, I want a blue/white gradient with a small shadow on the actual page, as you'll see on my site (click my signature). I have already tried got this:

body {
margin-top: 50px;
padding: 0;
background: url(http://www.freshjetvirtual.com/lib/skins/premiumseries/images/freshjet_bg.png);
text-align: justify;
font-family: Tahoma;
font-size: 12px;
color: #000000;
}

But you'll see that on my site, it repeats itself vertically (repeat-x), but it's not in the code. I basically want a shadow around the top and sides of the page against the blue/white gradient.

Posted

Can't quite tell what you want but, add repeat-x (horizontal), repeat-y (vertical) or no-repeat to the end of your background attribute, e.g:

background:url(img.png) no-repeat;

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...