Go to Post Good programmers always find a better way to do something, especially when it's not obvious where those improvements can be found. - Mr. Lim [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 31-07-2004, 11:56
robot180's Avatar
robot180 robot180 is offline
Webmaster, spamrobotics.com
AKA: Jon
FRC #0180 (S.P.A.M.)
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Stuart, FL
Posts: 414
robot180 is a name known to allrobot180 is a name known to allrobot180 is a name known to allrobot180 is a name known to allrobot180 is a name known to allrobot180 is a name known to all
Send a message via AIM to robot180
Re: Stretch a picture to fill up the whole background of a webpage?

Maybe I was confused. I thought he wanted it as a background. If you just want the image to take up the whole screen then just put width="100%" in the img tag. No frames or tables required.
__________________
-Jon
Computer Science Major
Georgia Tech
Former Team Leader
FRC Team 180
  #17   Spotlight this post!  
Unread 31-07-2004, 12:15
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Stretch a picture to fill up the whole background of a webpage?

Quote:
Originally Posted by robot180
Maybe I was confused. I thought he wanted it as a background. If you just want the image to take up the whole screen then just put width="100%" in the img tag. No frames or tables required.
That's what I suggested.
Why not put the page in a table with a width equal to the width of the image?
  #18   Spotlight this post!  
Unread 31-07-2004, 12:46
Elgin Clock's Avatar
Elgin Clock Elgin Clock is offline
updates this status less than FB!
AKA: the one who "will break into your thoughts..."
FRC #0237 (Black Magic)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2001
Location: H20-Town, Connecticut
Posts: 7,773
Elgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond repute
Send a message via AIM to Elgin Clock
Re: Stretch a picture to fill up the whole background of a webpage?

Quote:
Originally Posted by robot180
Maybe I was confused. I thought he wanted it as a background. If you just want the image to take up the whole screen then just put width="100%" in the img tag. No frames or tables required.
I do want it as a background. An image as a background.

And I want it to take up the whole screen, kind of like how on the desktop you can stretch an image (larger or smaller) to fit the screen as your background.

I can see that this may require an alternate plan though... :sigh:

edit: OK, let me try and explain what I am trying to do here first, and then you can offer alternative suggestions.

The look that I want on this web page is for an image to fill the whole page as a background. It's basically supposed to look like a piece of paper, on top of which I have tables of images which are I believe 3X4 (3 Rows of 4 images).

The image looks like a piece of stationary, and I want it to fit perfectly on the page with the tables of images sitting "on the paper".

When I finally secure my domain name, and find a host for this web project, I can show you all what I mean by linking you to it.
(And I will also send out a call for image submissions as well - Stay tuned )
But for now, you just have to try and picture it. Sorry.

Thanks everyone for your help by the way.
__________________
The influence of many leads to the individuality of one. - E.C.C. (That's me!!)


Last edited by Elgin Clock : 31-07-2004 at 12:52.
  #19   Spotlight this post!  
Unread 31-07-2004, 17:29
robot180's Avatar
robot180 robot180 is offline
Webmaster, spamrobotics.com
AKA: Jon
FRC #0180 (S.P.A.M.)
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Stuart, FL
Posts: 414
robot180 is a name known to allrobot180 is a name known to allrobot180 is a name known to allrobot180 is a name known to allrobot180 is a name known to allrobot180 is a name known to all
Send a message via AIM to robot180
Re: Stretch a picture to fill up the whole background of a webpage?

I understand exactly what you are saying and the best way I can think of is to make two images, same image but different canvas sizes. One 800 by 600 and the other 1024 by 768. Then, use JavaScript to detect the window size and display the appropriate image. Otherwise, use one image, 800 pixels wide, and center it on the page. This will leave a border when viewed in a higher resolution. Those are the closest ways that I can think of.

I think that some CSS properties should be added to allow you to resize a background image, unless there are in CSS2, I don't know.
__________________
-Jon
Computer Science Major
Georgia Tech
Former Team Leader
FRC Team 180
  #20   Spotlight this post!  
Unread 31-07-2004, 17:42
jonathan lall's Avatar
jonathan lall jonathan lall is offline
Registered User
FRC #2505 (The Electric Sheep; FRC #0188 alumnus)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Toronto, Canada
Posts: 547
jonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond repute
Send a message via MSN to jonathan lall
Re: Stretch a picture to fill up the whole background of a webpage?

Hmm, Elgin, could you upload the image? I have an idea.

An aside, there are more than two resolutions people use. I would support at least up to 1600 x 1200. Other popular ones include 640 x 480, 1152 x 864, 1280 x 960, and 1280 x 1024.
__________________

  #21   Spotlight this post!  
Unread 31-07-2004, 20:42
mtrawls's Avatar
mtrawls mtrawls is offline
I am JVN! (John von Neumann)
#0122 (NASA Knights)
Team Role: Programmer
 
Join Date: Mar 2003
Location: Hampton, VA
Posts: 295
mtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to behold
Send a message via AIM to mtrawls
Re: Stretch a picture to fill up the whole background of a webpage?

Quote:
Originally Posted by Elgin Clock
It's basically supposed to look like a piece of paper, on top of which I have tables of images which are I believe 3X4 (3 Rows of 4 images).
Paper is pretty much regular, no? So why not make the image so that it looks good with tiling, and the problem can be avoided.

And I will repeat the point again: please, oh please, do not assume a viewer is looking at your site with a particular resolution (or browser, for that matter). Many people browsing the net have old computers, many set on 800x600 res. And there are many other resolutions too. You should try to make your site look good regardless of how the user is viewing the page, so far as reason permits.

Oh, and doing web design, little things like this always come up and tend to stress you a lot. Don't let it bother you -- just remember that the content is much more important than the aesthetics of the layout. Make sure the content can be accessed before you pull your hair out
  #22   Spotlight this post!  
Unread 31-07-2004, 20:53
Max Lobovsky's Avatar
Max Lobovsky Max Lobovsky is offline
Fold em oval!
FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Scotch Plains, NJ
Posts: 1,026
Max Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant future
Send a message via AIM to Max Lobovsky
Re: Stretch a picture to fill up the whole background of a webpage?

I really don't like this solution, but at least in IE, there are pages that open that have a fixed window size. I'm not sure exactly how its done, but click on high bandwidth on this page: http://www.phsrobotics.com/ (team 007's page). Personally, I'm annoyed when a page opens like this, but if its for some sort of special use thing, it might be alright...
  #23   Spotlight this post!  
Unread 01-08-2004, 02:56
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Stretch a picture to fill up the whole background of a webpage?

Elgin, I think if I'm right this is what you kinda want to do? HERE This is on my server, I simply made up a mock notepad in paint and wrote a VERY simple code. Is that what you're thinking of?

-Mike

http://mike-site.us

Last edited by Mike AA : 01-08-2004 at 03:01.
  #24   Spotlight this post!  
Unread 01-08-2004, 13:48
robot180's Avatar
robot180 robot180 is offline
Webmaster, spamrobotics.com
AKA: Jon
FRC #0180 (S.P.A.M.)
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Stuart, FL
Posts: 414
robot180 is a name known to allrobot180 is a name known to allrobot180 is a name known to allrobot180 is a name known to allrobot180 is a name known to allrobot180 is a name known to all
Send a message via AIM to robot180
Re: Stretch a picture to fill up the whole background of a webpage?

I think he ment more like stationary (a piece of plain paper with a fancy border and stuff, maybe with lines, not notebook paper), but I could be wrong. I don't know if there is any easy way to do it, which brings up another point.

However you do it, make sure it works well, if you want high traffic. There are cheap ways of doing it, but the cheap ways might not be the best idea. I had a lot of ideas for websites that I have made, but they didn't look as good after being coded or they didn't look the same in all browsers and resolutions so I had to scrap the idea and try something else, no matter how much time I spent on the idea or no matter how much I liked it. Don't let it frustrate you, but think about alternative ideas that would work better. So instead of paper, maybe something similar that is symetrical so that it can be repeated.
__________________
-Jon
Computer Science Major
Georgia Tech
Former Team Leader
FRC Team 180
Closed Thread


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:42.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi