4 Replies - 67112 Views - Last Post: 09 September 2011 - 04:25 PM

#1 caliba  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 5
  • Joined: 09-July 08

resize image to fit any window size

Posted 09 July 2008 - 06:40 AM

Hi there,
I'm building a webiste in Dreamweaver MX and I want the opening page to resize to fit any window. It has been down perfectly in this site http://www.romancewasborn.com/

and I want to do it for my own site.
Any suggestions??
Is This A Good Question/Topic? 0
  • +

Replies To: resize image to fit any window size

#2 caliba  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 5
  • Joined: 09-July 08

Re: resize image to fit any window size

Posted 09 July 2008 - 07:33 AM

PS. Is this the right forum? Should I have posted this in Java?? I have no idea what coding to use.
Was This Post Helpful? 0
  • +
  • -

#3 BetaWar  Icon User is online

  • #include "soul.h"
  • member icon

Reputation: 1138
  • View blog
  • Posts: 7,110
  • Joined: 07-September 06

Re: resize image to fit any window size

Posted 09 July 2008 - 12:20 PM

This is the right forum. At this point you haven''t shown any code so I can't (DIC has the policy of good faith code, you show us your and we will show you ours), but I can discuss theory behind it.

It looks like that have an extra large background image which they load centered on the page so no matter what screen resolution (probably maxing out a little over 1280x1024, but may be bigger) the background it completely filled. This can be broken if someone is using a super big monitor or multiple monitors connected together but it makes most of the world see the single image as the background.

After getting that setup they just add the content.

If you post your current code I will be able to help you out more.
Was This Post Helpful? 1
  • +
  • -

#12 caliba  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 5
  • Joined: 09-July 08

Re: resize image to fit any window size

Posted 10 July 2008 - 05:27 AM

Thanks Beta War, I finally worked it out, it was as simple as adding
<img src="index_idea3_big.jpg" width="100%" alt="">
in regards to the image.
Now it is resizing to any width. I'm totally feeling my way through web design and although I can do basic things, I see ideas and want to try them. The next problem I have I will remember to put the code in with my next question.
Thanks for replying.
Was This Post Helpful? 1

#13 halmasonberg  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 09-September 11

Re: resize image to fit any window size

Posted 09 September 2011 - 04:25 PM

View Postcaliba, on 10 July 2008 - 05:27 AM, said:

Thanks Beta War, I finally worked it out, it was as simple as adding
<img src="index_idea3_big.jpg" width="100%" alt="">
in regards to the image.
Now it is resizing to any width. I'm totally feeling my way through web design and although I can do basic things, I see ideas and want to try them. The next problem I have I will remember to put the code in with my next question.
Thanks for replying.


I'm trying to do the same thing. Where do I place that code? When I insert the photo, and then change the code, the photo disappears. ?

Thanks in advance. New to this,

Hal
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1