TugOwar
07-08-2006, 10:54 PM
Heres my page (http://www.geocities.com/tugowar37/index.html). It appears fine on my monitor, of course it would because I put it together on my monitor. :crazy:
But how do I make it so that it fits correctly (no horizontal scrolling) on monitors using smaller resolution than I run?
My resoltion is 1280 x 1024. GF's resolution is smaller so she has to scroll to see the whole page.
any help is appreciated very much, thanks
Get rid of the yahoo crap on the side.:lol:
Palf70Step
07-09-2006, 07:50 AM
You need to build the web page to fit a smaller screen size. I am not sure if you get that option with Yahoo. I specifically made mine to fit an 800x600 monitor view.
TugOwar
07-09-2006, 12:26 PM
Thanks, I guess I could just change my res while I work on the page. But then when viewed on a larger res you'd have a whole lot of empty page. :shrug:
Palf70Step
07-09-2006, 05:29 PM
I am not an expert in web pages for sure. just omething I dabble in now and then. I normally was told to make them 800x600 so all could view it easy. with the digital monitors and large screen sizes, I'm sure the recommend is probably around 1024 x768.
I was told it was better to have empty space around the screen and have more folks be able to view it without the slide bars.
shifty
07-09-2006, 06:01 PM
There are two ways you can assign width to your page : "relative widths" and "fixed widths".
A "relative width" uses a percentage to dictate how wide your page is. Example: width="%90". This tells the web browser that it should stretch the page to fit 90% of the viewable space available to the browser.
A "fixed width" uses a static number to tell the web browser how many pixels of width to display. So, if you specifically define 'width="1024"', the web browser is going to display at 1024 pixels wide, which will introduce a scrollbar at any display resolution smaller than that.
The easiest way to generate a page so that it will match any browser size is actually really simple: Use relative widths ALWAYS. There are some times when relative widths will not show up correctly, which you will learn :D
For more information on relative width vs fixed width, see this and it might make more sense:
http://www.thesitewizard.com/archive/fixedvsrelative.shtml or http://webdevelopment.developersnetwork.com/Articles.asp?Article=114
More related links for your learning:
http://www.ironspider.ca/tables/tablecells3.htm
I can provide more info to you should you need it. If you're learning HTML and you want a really, really easy to read book which will leave you walking out a master, pick up a copy of O'reilly's "HTML: The definitive Guide". Here's a link:
http://www.oreilly.com/catalog/html3/
Amazon has a ton of copies. You should be able to get one shipped cheap, or find one at any local bookstore. I loaned out my copy and never got it back :D