Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-01-2003, 04:49 PM   #1
Ace
Member (6 bit)
 
Join Date: Jul 2002
Posts: 44
Send a message via ICQ to Ace Send a message via AIM to Ace
stretch a fixed background

anyhow right now i'm trying to make a background on my website fixed and stretched so it will fit in any resolution. keep in mind i'm not that much of a html/java/css guy =P

googled it up a bit, and from what i read you can't do stretch in html. i found the javascript code for stretch, but the background isn't fixed. here's the link to the JS code:

http://www.webreference.com/dhtml/di...bgresize3.html

any help would be much appreciated. thanks =)
Ace is offline   Reply With Quote
Old 11-02-2003, 06:58 AM   #2
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
The short answer is that you can't stretch it. It does though depend greatly on the image. If it is a picture with a lot of detail then there isn't much you can do besides putting it in a fixed resolution table. If it is a background with repeating patterns then it would be no problem.
mairving is offline   Reply With Quote
Old 11-02-2003, 08:48 PM   #3
Member (8 bit)
 
Join Date: Mar 2003
Location: U.S. -- Arlington, TX
Posts: 245
Send a message via AIM to vizun Send a message via Yahoo to vizun
yeah, if its a pattern no prob, set it as the background, but otherwise, you could create the same image in like... 3 or 4 resolutions, use some javascript to check the reso. of the user, and set the image. There are a few other ways, but if you dont know to much about "webdesign" they would be hard to explain, and probly wouldnt work to well.
vizun is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes 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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:08 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2