Welcome to City-Data.com Forum!
U.S. CitiesCity-Data Forum Index
Go Back   City-Data Forum > General Forums > Science and Technology > Internet
 [Register]
Please register to participate in our discussions with 2 million other members - it's free and quick! Some forums can only be seen by registered members. After you create your account, you'll be able to customize options and access all our 15,000 new posts/day with fewer ads.
View detailed profile (Advanced) or search
site with Google Custom Search

Search Forums  (Advanced)
 
Old 05-22-2012, 12:03 PM
 
Location: Some T-1 Line
520 posts, read 1,006,648 times
Reputation: 449

Advertisements

How do you create and apply website backgrounds that pop...something like the following.

(1) 63 Impressive Website Background-Images: Trends, Resources and Tutorials - Noupe

Websites like these, but with the white text area in the middle for textual information.

(2) Bossip | Gossip for the Hardcore | Black Celebrity & Entertainment News

Moreso like this where they have an image (I think) as the background and use tables in the middle of the page to render their text.

My questions are as follows:

(1) Can I use any size image or should my image meet certain minimal specs

(2) What format should the image be (PNG, JPG, GIF, SVG) or does it matter

(3) Is there a certain code that will make the background image fit all screens. Basically, I don't want any unneccessary horizontal or vertical scrolling

Thanks for your time and feedback.
Reply With Quote Quick reply to this message

 
Old 05-22-2012, 02:19 PM
 
41,813 posts, read 51,051,710 times
Reputation: 17864
To "create" you can write a book, get an image editor and try making some. Specific questions are better...... GIMP is free.

You would apply background image to nearly any HTML element using CSS, there is tutorial here for background and the variants:

CSS background property

Quote:
(1) Can I use any size image or should my image meet certain minimal specs
You're going to use what ever meets your needs.

Quote:
(2) What format should the image be (PNG, JPG, GIF, SVG) or does it matter
What image format to use really depends on the content of the image. Simple images without a lot of color lend themselves to .gif. Photo type images work best with .jpg.

.png can do either well but it has larger file sizes generally especially for photo type images. One big advantage it does have is alpha transparency.


Quote:
(3) Is there a certain code that will make the background image fit all screens. Basically, I don't want any unneccessary horizontal or vertical scrolling
Background images will not cause scroll bars, only content does. It's possible to stretch images, search for fluid background image. Generally you want use it's native size. Browsers do not do a very good of on the fly scaling. There is tricks for this though, for example you can repeat an image.
Reply With Quote Quick reply to this message
 
Old 05-23-2012, 06:23 AM
 
Location: Some T-1 Line
520 posts, read 1,006,648 times
Reputation: 449
Thanks, thecoalman. Some of my questions were answered. I'm assuming I need to use a very good sized image as if I stretch it to a computer screen (for background) size, pixelation could occur.

I am using Nvu for website creation (don't want to spend the money on Dreamweaver yet). I'll experiment, but thanks.
Reply With Quote Quick reply to this message
 
Old 05-23-2012, 07:58 AM
 
41,813 posts, read 51,051,710 times
Reputation: 17864
Quote:
Originally Posted by ajsmith365 View Post
I'm assuming I need to use a very good sized image as if I stretch it to a computer screen (for background) size, pixelation could occur.
That's a two way street, the typical method for resizing an image is called bicubic but that requires processing power. Browsers typically just strip out lines of pixels. You'll get a jagged or stair stepping pattern on edges at an angle especially if they have contrasting colors. Note, I haven't experimented with it in years and they may do a better job so try experimenting with it
Reply With Quote Quick reply to this message
 
Old 05-24-2012, 08:58 AM
 
28,803 posts, read 47,699,483 times
Reputation: 37905
Unless you have a specific image in mind you can find a lot of free images to use. The quality varies widely, but there are some nice ones to be found.

free website backgrounds - Google Search
Reply With Quote Quick reply to this message
Please register to post and access all features of our very popular forum. It is free and quick. Over $68,000 in prizes has already been given out to active posters on our forum. Additional giveaways are planned.

Detailed information about all U.S. cities, counties, and zip codes on our site: City-data.com.


Reply
Please update this thread with any new information or opinions. This open thread is still read by thousands of people, so we encourage all additional points of view.

Quick Reply
Message:


Over $104,000 in prizes was already given out to active posters on our forum and additional giveaways are planned!

Go Back   City-Data Forum > General Forums > Science and Technology > Internet

All times are GMT -6. The time now is 06:46 AM.

© 2005-2024, Advameg, Inc. · Please obey Forum Rules · Terms of Use and Privacy Policy · Bug Bounty

City-Data.com - Contact Us - Archive 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37 - Top