Webforumz's RSS FeedRSS Webforumz RegistrationRegister Contact Webforumz StaffContact

CSS: How to chop up a complex background

This is a discussion on "CSS: How to chop up a complex background" within the Web Page Design section. This forum, and the thread "CSS: How to chop up a complex background are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Aug 14th, 2008, 17:25
Up'n'Coming Member
Join Date: Jun 2006
Location: Northern Ireland, United Kingdom
Age: 22
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
CSS: How to chop up a complex background

Hi all and thanks for reading. I'm a web designer and to date I've used either simple gradient backgrounds, tiled backgrounds or solid colours in my designs. I've done a design for a client that includes a sky background with clouds but I'm not sure how to cut it up.

The problem for me is that the sky is not all a solid colour, as it's an actual photograph of the sky. I've included a screen shot of the basic design. Can anyone tell me how I would apply this in CSS?

Thanks in advance,

Anthony
Attached Images
File Type: jpg mock-up.jpg (17.3 KB, 7 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old Aug 14th, 2008, 22:41
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: CSS: How to chop up a complex background

make the edges fade into a solid color, that way if the viewport is larger than the background it will blend.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Aug 14th, 2008, 23:05
Up'n'Coming Member
Join Date: Jun 2006
Location: Northern Ireland, United Kingdom
Age: 22
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS: How to chop up a complex background

Hi and thanks for the reply. I will try and make it fade into a solid colour but then what would be the css? background-color: whatever the solid was, and then a background-image of that layout which is centered?

Also, If I was able to clone stamp that sky and make the image 1600 or so, could I then use it and apply some kind of CSS to make it fit most browser windows, but cap it at 1600px wide if you understand what i'm saying?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Aug 15th, 2008, 00:45
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: CSS: How to chop up a complex background

yeah

Code: Select all
background:url(foo.jpg) no-repeat center top;
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Aug 15th, 2008, 00:53
Up'n'Coming Member
Join Date: Jun 2006
Location: Northern Ireland, United Kingdom
Age: 22
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS: How to chop up a complex background

Quote:
Originally Posted by moojoo View Post
yeah

Code: Select all
background:url(foo.jpg) no-repeat center top;
You're a legend. Thanks a lot!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Aug 15th, 2008, 14:37
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: CSS: How to chop up a complex background

Forgot to add yo also need to append your solid color so it would be

Code: Select all
background:#coloravluehere url(foo.jpg) no-repeat center top;
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me do a complex php sort. TheSealPortalTeam PHP Forum 0 Jun 19th, 2008 21:19
iframe's: slightly complex, need help deymeraff Web Page Design 0 Jun 8th, 2007 05:02
Complex flash site, can anyone help???? Ashdude2000 Flash & Multimedia Forum 4 Nov 20th, 2006 15:01
Complex update with check boxes jpresley Classic ASP 0 Sep 27th, 2006 21:57
Help! Too complex for me! ClaireB Databases 1 Feb 16th, 2006 00:20


All times are GMT. The time now is 19:10.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8