republican-creole
site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
555
Share Topic
Posting?
Post a:
Post a:
Links: ·How To Get Noticed ·Web Monks FAQ ·Webhosting FAQ ·Posting Code ·How To Post ·Webhosting forum
AuthorAll Replies


PToN

join:2001-10-04
Houston, TX

large backgrounds

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


twizlar
I dont think so.
Premium
join:2003-12-24
Brantford, ON
kudos:3

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

It is part gradient, but other parts are not so i cant use repeat...



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

It would be something in the same fashion as »www.tutorial9.net



Martinus
Premium
join:2001-08-06
EU

1 edit

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.


Friday, 01-Jun 23:53:42 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics