|
| |
|
|
bcarey
Posts: 95 From: North Carolina Status: offline
|
Netscape shows this differently. Why? - 3/15/2001 23:42:00
The code from FP below is basically one table in my disked based web page that has 3 columns, with left and right columns with specified width and the center column with no width specified so it will expand. In IE it looks the way I want it to, in NS 4.75, the right column is too wide throwing everything out of proportion. Please help me to understand what is wrong and why this is the case. Since I plan to add 2-3 tables with one column that will expand in the same manner, I've got to understand what is happening here before I proceed. Sitting here with copy of Thomas The Art of Building Tables and have tried everything I know to do. Thank you much for your time. Code copied from FP html view below.<html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>Home</title> </head> <body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#FFFFFF"> <div align="left"> <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#FFFFFF"> <tr> <td width="337" bgcolor="#FFFFFF" valign="top" align="left"><img border="0" src="images/tcclogo1.gif" width="336" height="68"></td> <td valign="top" align="center"> <p align="right"><img border="0" src="images/cleardot.gif" width="1" height="1"></p> </td> <center> <td width="155" bgcolor="#CC0000" valign="middle" align="center"> <p align="center"><img border="0" src="images/tccurl2.gif" width="141" height="19"></td> </tr> </center> </table> </div> </body> </html> [This message has been edited by b. carey (edited 03-15-2001).]
|
|
|
|
bobby
Posts: 11394 Joined: 8/15/1969 From: Seattle WA USA Status: offline
|
RE: Netscape shows this differently. Why? - 3/15/2001 23:49:00
Have you tried specifying width in percent instead of pixels?
|
|
|
|
bcarey
Posts: 95 From: North Carolina Status: offline
|
RE: Netscape shows this differently. Why? - 3/15/2001 23:55:00
Bobby,Thank you for your reply. Yes, I have tried that. It didn't work. Also, have been very careful to only change table sizes using properties settings. Have also placed transparent gif in the middle cell which has no content. [This message has been edited by b. carey (edited 03-15-2001).]
|
|
|
|
Andy from Spain
Posts: 920 From: Ipswich Status: offline
|
RE: Netscape shows this differently. Why? - 3/15/2001 13:08:00
Hi, Try palying around with the width of the transparent gif - a 1x1 gif will make little difference. You can see what I mean if you add some junk text in the middle cell and see how NN shrinks the right hand cell. Cheers Andy ------------------ Internet Business Solutions S.L. (Spain) Dreamweaver Users Forum
|
|
|
|
bcarey
Posts: 95 From: North Carolina Status: offline
|
RE: Netscape shows this differently. Why? - 3/15/2001 14:21:00
Andy,Tried your suggestion about typing text into the cell and it did depending on the length of the text, shrink the right cell but this doesn't really solve my problem. The objective is to have that cell expand and contract to fit any resolution and contain no text, just a white background. The transparent jif is just so the background can be seen by NS. If I put a larger size gif, what size and will I lose the stretchability of the cell? Thank you very much for taking time to help!
|
|
|
|
bcarey
Posts: 95 From: North Carolina Status: offline
|
RE: Netscape shows this differently. Why? - 3/15/2001 17:41:00
This problem has me really stumped. Would really appreciate more suggestions. I've run out of everything I know or have read to try. Just to let you know what I have tried thus far:Changing the middle cell to 100%. Merging the left and middle cells, and trying width settings at 100%, or no width specified. Inserting 1X1 pixel gif. Not tried different size gif because don't know what size to try and whether it will negate the stretching of the cell. Resetting alignment of jif's in right and left cells. Resetting cell properties. All changes have been made in properties, not by dragging cell walls. The jif image placed in the left cell is 336 pixels wide and after inserting it from images the cell was 337 wide, so I specified a fixed pixel width for that cell of 337. The jif image placed in the left cell is smaller than the width I want the cell to be so I used the defaults just to center the image in the cell while specifying cell width at what I wanted it to be. Got to be a trick to all this that I am missing! [This message has been edited by b. carey (edited 03-15-2001).]
|
|
|
|
Goober
Posts: 1156 From: Pennsylvania USA Status: offline
|
RE: Netscape shows this differently. Why? - 3/15/2001 18:04:00
I don't know if this will help, but it can't hurt...Remove <div align="left"> and </div>. From the center cell remove <p align="right"> and </p>. From around the third cell remove <center> and </center>...and within, remove <p align="center">. The third cell is set at 155 pixels but is only containing a graphic that is 141 pixels wide, so that cell wall will move some unless you put something in there(a transparent .gif, for instance) that is 155 pixels wide. If you are also taking into consideration 640x480 resolution, that center cell is only going to be about 103 pixels wide at that setting. If all else fails, try rebuilding it from scratch. Sometimes that takes less time that trying to fix something that just won't "fix." I hope this helps a little. Sandy ------------------ www.alleghenyweb.com
|
|
|
|
bcarey
Posts: 95 From: North Carolina Status: offline
|
RE: Netscape shows this differently. Why? - 3/15/2001 18:40:00
Goober,Thank you so much for throwing me a lifeline! Will try what you suggested and report back on my progress as soon as I have had time to experiment. Would really love to see Thomas expand his Art of Building Tables to part 4 to include more information on building tables for stretch/liquid webs.
|
|
|
|
bcarey
Posts: 95 From: North Carolina Status: offline
|
RE: Netscape shows this differently. Why? - 3/16/2001 13:59:00
Goober, all,In answer to you concern about not having enough room to expand the table in lower resolution, it wont matter in this case. The table is just a logo. It will look equally good with a narrower or wider space. A second table will go underneath that will allow more room for text, forms etc. No text or anything needed to go in the middle cell, so merging it with the left cell was no problem. Things are progressing. Finally got the table in question to keep that right cell in place in IE5.5 and NS 4.75 by placing a jif in the cell and setting it at 154 pixels, then merging the center and left cells into one and setting it a 100%. This brings me to a question. Noticed that when I brought the 336 pixel wide image into a table cell, it automatically set the cell at 337 Pixels. When doing a transparent jif, should it be made the same number of pixels wide as you want the cell to be, or should it be exactly the width of the cell. Also would I notice a difference in the height and allow for this also. Just trying to figure ahead and plan for the sizes of my rollovers. Thank you again for everyone's help! You've been absolutely great! [This message has been edited by b. carey (edited 03-16-2001).]
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|