Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Web Design & Development
Tag Cloud
access acer asus bios bsod computer crash desktop dns driver drivers error ethernet excel freeze gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard network printer problem ram registry repair router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
a little lost

Reply  
Thread Tools
imomyer's Avatar
Junior Member with 1 posts.
 
Join Date: Nov 2009
16-Nov-2009, 11:24 AM #1
a little lost
Would anyone be able to point me in the right direction on how to do this in html/css/javascript.

It seems to be done in flash so I'm not entirely sure how to do it.

I want the background image to have a predefined size of 1024x768 and I want it to fill the browser window as they resize it...but not shrink past the 1024x768. I mean the browser can shrink but the image must stay at the predefined size. Basically the site below is what I'm looking for.

http://www.troikadesigngroup.com/

Any help would be greatly appreciated.
Thanks
maneetpuri's Avatar
Member with 124 posts.
 
Join Date: Oct 2008
18-Nov-2009, 05:54 AM #2
HI,

Define the image in body style.

<style type="text/css">
<!--
body {
background: url(image_name.jpg) no-repeat left top;
}
-->
</style>

Hope this helps,
Cheers
allnodcoms's Avatar
Member with 60 posts.
 
Join Date: Jun 2007
Location: Hertfordshire - England
Experience: Advanced
19-Nov-2009, 07:34 PM #3
Unhappy No can do.
You mean you want to scale the image to fit the window... Can't do that in the current HTML standard I'm afraid. You'd need to use flash. Sorry!

Danny
Reply

Tags
ajax, background image, fullscreen, javascript, web

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 08:28 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.