Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Webmasters and Developers » large backgrounds
Search Topic:
Uniqs:
293
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
web dev freelance project question: allow derivative work? »
« deep drilling access_logs  
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
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.
-
Forums » Tech and Talk » OS and Software » Webmasters and Developersweb dev freelance project question: allow derivative work? »
« deep drilling access_logs  


Sunday, 08-Nov 20:44:31 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [156] Cable Uncapper Faces Criminal Charges
· [140] AT&T Sues Verizon Over 3G Ads
· [112] Why Run Fiber When You Can Run Ads That Pretend You Do?
· [108] Comcast Is Simply Getting Huge
· [93] Apple Cooking Up New $30 A Month TV Service?
· [83] Bits Of ACTA Agreement Leaking Out
· [80] Will 'Three Strikes' Come To The United States?
· [78] Verizon To Double Smartphone ETFs?
· [77] Verizon: Droid Tethering Will Cost $30 Extra
· [73] Comcast, NBC Deal Almost Complete
Most people now reading
· My cat is reluctant to exercise. [General Questions]
· [NFL] Week 9 Games Thread [Sports Chat]
· [Rant] Brand New 'Jasper' Xbox360 - RRoD Hardware Failure [Rants, Raves, and Praise]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Hit and run [General Questions]
· no Globalive/Wind Mobile in Canada [TekSavvy]
· for all the bell haters out there. [TekSavvy]
· [WIN7] Which Services in Win 7 Have You Turned Off? [Microsoft Help]
· [WotLK] Whats the level 80 pve spec for mages? [World of Warcraft]
· Massive Slowdowns? [cover,1584]