Help with background image (html)

MultiformeIngegno

  • Posts: 1,337
Help with background image (html)
« on September 12th, 2011, 06:08 PM »
Hi! :)
I'm creating a website for a school and I have a little problem with an image (gradient) used as background.
Here is the link: http://virgilio.lorenzoraffio.com/

When I browse the website with a large resolution, it's all good:
http://img43.imageshack.us/img43/5298/fullwebsite.jpg

But when I browse it with a lower res, the gradient has this problem:
http://img855.imageshack.us/img855/7843/reducedwebsite.jpg

I used this:
Code: [Select]
background: url("image_url") repeat-x scroll 0 0 transparent

What should I change..? Thanks in advance guys! ;)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Help with background image (html)
« Reply #1, on September 12th, 2011, 06:38 PM »
Change the transparent part to the colour at the end of the gradient, so that when the gradient's over, it runs on with the same colour as at the end of it.

* Arantor doesn't know if that'll have other effects, hasn't looked at any of the code, only the pictures.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

MultiformeIngegno

  • Posts: 1,337

Nao

  • Dadman with a boy
  • Posts: 16,082