Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Thread: 

How to Set a Background Image in HTML?

Ads
banner
banner
banner
letsplay Offline referral

Posts: 274
Joined: Jul 2013
Reputation: 1

#1
Senior Member
I have noticed many websites have Background Image instead of color I would like to know how to make my page background show image and not color? Is color background better than image background from the performance point of view?
invisibe_dude Offline referral

Posts: 820
Joined: May 2013
Reputation: 24

#2
Posting Freak
Add this code you your css stylesheet.

Code:
body {
background-image:url('image.extention');
}

Add background-repeat:repeat-x; to repeat image horizontally!
Add background-repeat:repeat-y; to repeat image vertical!
Add background-repeat: no-repeat; will prevent reaping image or background-repeat: repeat; to repeat it!
destroyer Offline referral

Posts: 430
Joined: Jul 2013
Reputation: 3

#3
Senior Member
Quote:Is color background better than image background from the performance point of view?

I think image background will increase your site load time but if you use small texture image with the background-repeat option for your background then I think your load time will not get affected too much. Don't forget to set leverage browser caching to decrease your site load time Wink





User(s) browsing this thread: 1 Guest(s)