  Martinus Premium join:2001-08-06 EU
1 edit | reply to PToN Re: large backgrounds
You'll have to make the large background, set it to fixed and match the background color of the page with the lowest part of the background image.
For that background,
background:#101318 url(large-bg.jpg) no-repeat fixed}
Possibly "center top" too. |
|
  PToN
join:2001-10-04 Houston, TX | reply to Martinus It would be something in the same fashion as »www.tutorial9.net |
|
  Martinus Premium join:2001-08-06 EU | reply to PToN Hard to tell without seeing the background in question but...
You can use the shorthand: background:url(bg.png). Quotes are only needed if you have spaces in your background image file name. |
|
  PToN
join:2001-10-04 Houston, TX | reply to twizlar It is part gradient, but other parts are not so i cant use repeat... |
|
  twizlar I dont think so. Premium join:2003-12-24 Brantford, ON | reply to PToN It really depends on the size and type of background. If its some sort of gradient you should use a small slice and tile it. -- Broadline Networks Inc. |
|
  PToN
join:2001-10-04 Houston, TX | Hello,
I am working on a design for my site and i was wondering how do you deal with large backgrounds..?
Do you just do "background-image: url("bg.png")"..?
Thanks |
|