Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-11-2012, 02:27 AM   PM User | #1
sunshine1234
New to the CF scene

 
Join Date: Oct 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sunshine1234 is an unknown quantity at this point
Browser Scale-able Homepage Image

Hi,
I'm trying to make the pano look similar to the one on name.com homepage. So it fills the whole space that you see and when you resize the browser the image shrinks proportionally and is not cut off.
I've tried several different things, but I can't seem to get it quite right. The image wants to tile and it doesn't scale down, it just gets cut off. http://d.pr/i/aUbM

Here is what I currently have plugged in for the code on the css side it is section.hero - http://d.pr/i/tRPU

Are there any suggestions anyone could give me or tutorials anyone could direct me to?
sunshine1234 is offline   Reply With Quote
Old 10-11-2012, 05:07 PM   PM User | #2
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,383
Thanks: 18
Thanked 350 Times in 349 Posts
sunfighter is on a distinguished road
The image name.com uses is 1200x800. its done like this:
Code:
body{
   background: url('bill-group-bikes_opt.jpg') top left white no-repeat;
}
</style>
sunfighter is offline   Reply With Quote
Old 10-11-2012, 05:26 PM   PM User | #3
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,307
Thanks: 12
Thanked 204 Times in 204 Posts
DanInMa is on a distinguished road
if you cant find something to work quite the way youd like, here is one of a few jQuery plugins that will do it. http://srobbin.com/jquery-plugins/backstretch/
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote
Reply

Bookmarks

Tags
css, fill image, scale

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 05:54 AM.


Advertisement
Log in to turn off these ads.