Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 10-14-2011, 01:51 AM   #1
New Member
 
Join Date: Oct 2011
Posts: 1
Default basic question about html body

Hello everyone I just joined this forum and I have a newbie question about html design.
What is the proper coding for background image so it scales with monitor resolution? When i use the background property under CSS for body tag it doesn`t scale the image so when i look at the image on my 1980x1080 monitor i can see the actually background color which is white but when I look at it on my smaller resolution monitor it looks fine so how can I set the property for body so it scales with monitor resolution.

Thank you in advance.
taocg is offline   Reply With Quote


Old 10-14-2011, 02:14 AM   #2
Platinum Member
 
ronaldroe's Avatar
 
Join Date: Jan 2011
Location: Oklahoma City, OK
Posts: 677
Send a message via Skype™ to ronaldroe
Default

Funny you should ask. Just today, Chris Coyier at CSS-Tricks posted this: http://css-tricks.com/3458-perfect-f...kground-image/
__________________
Ronald Roe
Small Business Web Design
ronaldroe is offline   Reply With Quote
Old 10-14-2011, 03:33 AM   #3
Diamond Member
 
Phreaddee's Avatar
 
Join Date: Feb 2011
Location: Newcastle, Australia
Posts: 1,135
Default

there is also a nice full size script called "supersize" that you can use.
you can make random changing backgrounds, or a slideshow of sorts with it too, which is handy in some circumstances...
although that post looks pretty solid.
__________________
if (headhurts == "possibly") {
alert ("keep going!");
}
else if (headhurts == "yes") {
alert ("go to sleep");
}
else if (headhurts == "damn !@#$ mofo scripts...") {
alert ("give up and have a beer!");
}
else {
alert ("watch TV");
}
Phreaddee is offline   Reply With Quote
Reply

Tags
image, scale

Thread Tools
Display Modes

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



All times are GMT. The time now is 05:15 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.