Click to See Complete Forum and Search --> : Fit window to frame


Bela
01-24-2003, 02:25 AM
Hello everyone

I have a web site with 3 frames. Some pages fit in the main frame but some don't, and they all have the same window size. What you think would cause this problem ?


www.netlogiscaritas.com?lenders.html (http://www.netlogiscaritas.com?lenders.html)

while www.netlogiscaritas.com?yourRole.html (http://www.netlogiscaritas.com?yourRole.html) doesn't fit the main frame

Thanks in advance for your help
Bela Ba

jdavia
01-24-2003, 03:16 AM
Your links cannot be found. So I couldn't see it.
But as a guess, I assume the page is wider. If so, you might have an image, table, or something that is making that page larger. I suppose the height is OK. Start looking very carefully.

Bela
01-24-2003, 07:56 AM
Thanks for your reply

The links are working very fine. You probably didn't allow Java and JavaScript with your browser

Bela

tbod
01-24-2003, 08:55 AM
"Allowing Java and JavaScript in the browser" is not the problem with your links.
Your link has a "?" where a "/" is needed.

I checked-out the (corrected) links that you provided, and niether page is within a frame at all. As a matter of fact, both pages contain so much content that there is no space for another page to fit - never mind having them within a 3 page frame.

I think that you are going to need to restate the nature of your problem, since the links don't provide any insight into your dilemma. If you provide some better detail, I'll give it a shot for you.

Bela
01-24-2003, 09:38 AM
Thanks for trying to help.

If you follow the links I've provided WITHOUT "?" (instead of "/" ) you won't be be able to see any frames.

To see the problem I am tryibg to correct you have to follow the above links. They are working.

Thanks again

Bela

Stefan
01-24-2003, 11:08 AM
Originally posted by Bela
Hello everyone

I have a web site with 3 frames. Some pages fit in the main frame but some don't, and they all have the same window size. What you think would cause this problem ?


www.netlogiscaritas.com?lenders.html (http://www.netlogiscaritas.com?lenders.html)

while www.netlogiscaritas.com?yourRole.html (http://www.netlogiscaritas.com?yourRole.html) doesn't fit the main frame

Thanks in advance for your help
Bela Ba

Both pages seems to fit here.
Seeing lots of other problems though, like missing images and stuff, not to meantion compleate breakdown of the entire site if JS in not available.

Bela
01-24-2003, 11:39 AM
1- With the second link (....?yourRole.html) the page doesn't fit in the main frame: you have to scroll the horizontal bar to see the rest of the text on each line. That's what I am trying to correct.

2- I see no missing image from my side. At which location do you have a missing image ?

Thanks to all trying to help
Bela Ba

Stefan
01-24-2003, 12:19 PM
Originally posted by Bela
[B]1- With the second link (....?yourRole.html) the page doesn't fit in the main frame: you have to scroll the horizontal bar to see the rest of the text on each line. That's what I am trying to correct.


As I said, I don't get a horizontal scrollbar on either link.


2- I see no missing image from my side. At which location do you have a missing image ?


Almost every image is missing.

Perhaps forgot to upload all the images to your site but have the images in your browsercashe and thus don't see it yourself?

Stefan
01-24-2003, 12:24 PM
Here is a screenshot

tbod
01-24-2003, 01:09 PM
I viewed your site at 800x600 and required horizontal scrolling for the yourRole.htm page (as you state).

I am also unable to see some of your images - although only when using Netscape (they appear fine with IE).

I notice that you have declared widths using percentage, pts, and px throughout the page. Since the problem with the page is a "width issue", I would suggest double-checking your width properties and establish a consistency wherever possible (just to make troubleshooting this issue a bit easier for you).

I also noted that you have a table as follows:

<table border=0 cellspacing=0 cellpadding=0 width="110%" style='width:100.0%; mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>

I would have to assume that there are other instances where multiple properties (width and otherwise) have been set.

You've got a lot of lines to cover, but I'd just search for all instances of "width" and make sure that you have not crossed-yourself-up by setting TOO MANY width properties.

Hope this helps.
Good luck
T

Bela
01-24-2003, 02:33 PM
1- I didn't know that my site HAS TO BE VIEWED at 800x600.

2- And I also didn't know that older version of IE and NS browsers can't view images. I always upgraded to the latest versions of these browsers. They are all free.
Is there a way to make sure that older version browsers can view my site properly ?

3- All my pages have the width=100% yet some fit the main frame, some others don't. That's why I am lost at what to correct.

Thanks to all
Bela

tbod
01-24-2003, 03:06 PM
In response:

1 - Your site DOESN'T have to be viewed at 600x800. That is just the way that I viewed it (and I needed to scroll horizontally to view the page that you correctly claim to be wider than the other). I doubt that the width issue would exist when viewed at 1024x768 (although I didn't check it myself).

2 - I don't know why my Netscape browser didn't see all of your images (most were visible). I used v7.0 (not very old quite yet). Maybe some of the top guns in here can advise you on the problem with the images (I didn't look into how your images were set - just the width properties that you used for the tables and such).

3 - You say that all of your pages have the width of 100%, yet I indicated to you that I found a table which was set to the width of 110%. Therefore, it could be true that within all of those lines of script, there is some width-property that is not correctly set (did you double-check as I suggested?).

If you did in fact check your own code for possible problems (and found none), then I too am lost as to what to correct. Based on the amount of lines in your site, it is simply too daunting of a task for me to go over it line by line for you.

I still think that you need to double-check the width-properties. Aside from that, I don't know what more I can offer at this point.
Good luck (and happy hunting).
T

jdavia
01-24-2003, 04:33 PM
The links are working very fine. You probably didn't allow Java and JavaScript

I always keep Java on. I removed the "?" from the link ans only used this portion of the address,
www.netlogiscaritas.com I then got access to it.

I was right in the first place. you do have "something else", wrong as I mentioned.
Even if your tables are 100%, it is the total width of what is in them that is your problem. I see it.

Here is the clue to finding and solving it. Look at the scroll side of the window and scroll down. You will see on each of the pages that are too wide, the white background goes beyond the scroll bar. That is where you need to fix your code. It is the combined widths of the cells.

Stefan
01-24-2003, 04:51 PM
Originally posted by Bela

2- And I also didn't know that older version of IE and NS browsers can't view images. I always upgraded to the latest versions of these browsers. They are all free.


The problem isn't the browser, the problem is that the code for almost every single image is broken.
You have eg

src="images\spacer.gif"

That is incorrect. On the web that means you have an image called EXACTLY images\spacer.gif
If you have an image called spacer.gif in a subdir called images the correct syntax is
images/spacer.gif

Note the difference in the direcion of the slash.


Also, looking at the source to one of your frames it's apparent that you have used some MS office program to generate the webcode for you. That is a sure recepy for disaster if you are trying to make a webapge that works cross OS and cross browser. You're lucky if it even works in IE/Win, but you can count on that the page will be quite broken in anything else.

spufi
01-24-2003, 05:27 PM
Originally posted by Bela
1- I didn't know that my site HAS TO BE VIEWED at 800x600.

It doesn't have to be, but 800X600 is the most commonly used resolution, so you better think about that when creating a site.

tbod
01-24-2003, 05:54 PM
Well Bela, it looks like you got an earful (ya shoulda' just checked your widths, man!).

But all of that aside, you wanted help - and you got it (don't blame the messengers!).

You've got a BIG site going on there. You need to know how to script it. If your using MS Word (?) to generate your pages (and the multiple property settings may be an indication of that), then you should probably start taking the time to learn how to write HTML without the crutch.

www.HTMLgoodies.com can show you how simple it really is (simpler than letting Word and an online forum do it all for you).

Don't get discouraged, and try to learn all that you can. The online community is a great one, and there is always someone willing to help anyone who is willing to help themselves. This forum is particularly generous (I learn a lot here).

Keep at it and good luck to you (and consider all of the advise as "tough love". These people gave their time to respond).
T

spufi
01-24-2003, 10:29 PM
Is that applet supposed to be your menu for the site? If it is, it ran extremely poor when I just tried to hover over the menu area. I would not make my menu out of an applet. Not everybody has Java enabled in their browser. No Java. No menu..

Bela
01-26-2003, 11:30 PM
Thanks to all of you for your input. It is really appreciated

To jdavia
As you mentioned putting the width to 100% does not correct the problem.

I tried to follow your instructions: "Here is the clue to finding and solving it. Look at the scroll side of the window and scroll down. You will see on each of the pages that are too wide, the white background goes beyond the scroll bar. That is where you need to fix your code. It is the combined widths of the cells."

and couldn't see (or understand) how to locate the problem. Can you explain further ?


Thanks again to all of you for comments and support

Bela Ba
bbelaba@netlogiscaritas.com
www.netlogiscaritas.com

jdavia
01-27-2003, 01:56 AM
On the index page, scroll down to--Purchase/Rehab/Resell,
at this point on the scroll side of the window,there is the beige color stripe,(the background) it is out of the screen. That table is making that happen and is the cause.

For all the other pages, it is caused by another type of multicell table. The same table is at the bottom of the all the rest of the pages.

Now I can't correct these for you because it is hard to decipher code from a wysiwyg type of editor. It takes a lot of time.
You can check it by tenporarly deleting that table and looking at the scroll bar. If it goes away, you know it was the problem.

Bela
01-27-2003, 02:22 AM
Hello my genius

I just tried the suggestion in your last post by temporarily deleting the table in the middle of the (intro) index page and guess what .... the text overflow went away. Now I know where to look in the other page.

YOU ARE A GENIUS..... AN UNKNOW GENIUS

Thanks so much
Bela

jdavia
01-27-2003, 02:36 AM
Oh you make me feel so good. It is not that I am smart with all this stuff, it is my method of checking. That is what I passed on to you. Good Luck with the fix.

Bela
01-27-2003, 03:04 AM
He Mr. Humble

If you look at all the posts here and the one I have for NetLogis Caritas Site Evaluation (http://forums.webdeveloper.com/showthread.php?s=&postid=14367#post14367) each and all valid posts on their own, you'll realize that you are indeed a REAL GENIUS. Your solution is right to the point, simple, solves my problem .... and gives to the other readers another prespective of problem solving.

Thousands THANKS and you and all the others who showed their supporting help by posting (sharing) their comments.


Wishing you all continued success
Bela ba
bbleaba@netlogiscaritas.com
www.netlogiscaritas.com