Forums
This topic is locked
How do I make a page size to their browser setting
08 Jul 2004 09:10:26 Ross Ross posted:
I have enough info to make a basic static website, my site is www.teamquintana.com I'm a realtor. Although It looks OK I know I didn't do alot of things I should when I built it. I'm using Dreamweaver and basically can put in pictures and make links. My problem is I built it in a higher resolution and when someone views it in 600x800 they have to scroll. I don't know how to make it appear in the full screen in proportion to the browser setting they have. Please help, this is just one of my problems. If any want to look at the site and has other suggestions please help.Thanks!
Replies
Replied 08 Jul 2004 21:10:06
08 Jul 2004 21:10:06 Dave Thomas replied:
it needs to be layed out using %percentage values instead of fixed-pixel values.
that way it will 'squeeze' & 'stretch' itself according to the browser window.
you need to take graphic sizes into consideration when building it like this, try to keep them to minimum sizes and cut repetative graphics to be background images, to get rid of ugly scroll bars in small resolutions.
Regards,
Dave
[DWMX 2004]|[FlashMX 2004 Pro]|[SQL]|[Access2000]|[ASP/VBScript]|[XP-Pro]
that way it will 'squeeze' & 'stretch' itself according to the browser window.
you need to take graphic sizes into consideration when building it like this, try to keep them to minimum sizes and cut repetative graphics to be background images, to get rid of ugly scroll bars in small resolutions.
Regards,
Dave
[DWMX 2004]|[FlashMX 2004 Pro]|[SQL]|[Access2000]|[ASP/VBScript]|[XP-Pro]
Replied 07 Apr 2006 06:02:47
07 Apr 2006 06:02:47 Chris Trace replied:
dave
body {
background-color: #B0DEFF;
margin-left: 10px;
margin-top: 10px;
margin-right: 10px;
margin-bottom: 10px;
background-image: url(../images/clouds.jpg);
background-image: width="100%" height="100%";
}
does not seem to work
how do i get the background image to stretch 100x100%
thanks
body {
background-color: #B0DEFF;
margin-left: 10px;
margin-top: 10px;
margin-right: 10px;
margin-bottom: 10px;
background-image: url(../images/clouds.jpg);
background-image: width="100%" height="100%";
}
does not seem to work
how do i get the background image to stretch 100x100%
thanks
Replied 08 Apr 2006 12:35:13
08 Apr 2006 12:35:13 Dave Thomas replied:
i've answered this in your other post,
if your just looking to stretch it all to 100% then set the height & width elements onto the div holding the picture, not the picture itself.
regards
Dave Thomas
<b>DMX Zone Forums Manager</b>
Tip: Use Google or our own Search function to find answers before asking. You'd be surprised what's already written <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
if your just looking to stretch it all to 100% then set the height & width elements onto the div holding the picture, not the picture itself.
regards
Dave Thomas
<b>DMX Zone Forums Manager</b>
Tip: Use Google or our own Search function to find answers before asking. You'd be surprised what's already written <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>