NN frameset sizes

liunx

Guest
I'm using netscape 4.72 --- and I want my frame to be 150px wide --- but it's a bit smaller, I know because my 150px wide image gets cut off... why? works fine in IE. Logic dictates that if you put <FRAMESET COLS="150,*" border="0"> you get a 150px wide column... right?<br />
Thanks<br />
-E<!--content-->"Logic dictates..." Whatever made you think that logic applies in this arena. It doesn't. Good Luck with your problem.<!--content-->Well you would think so.... but this is not an uncommom problem. Netscape and IE often do not agree. You will need to use a compromise size for the frame. One that will display well in IE and Netscape.<br />
<br />
Regards,<br />
kevin<!--content-->yes, I also have noticed the difference when I align things down to the pixel. Make sure you have set up your body tag...<br />
<body marginwidth=0 marginheight=0 leftmargin=0 ....and so on<br />
<br />
this might make sure to pull the image towards the upper left of the screen. Still, I never was able to get mine to align EXACTLY the same in N4.7, and IE. Close....but close only counts in horseshoes, and hand-grenades. Hmmmnnnn, come to think of it...that kind of describes my coding!<!--content-->This was my solution, on my default page I check for the browser, then this:<br />
<br />
if (IE){<br />
sFrames = "<FRAMESET COLS=\"150,*\" border=\"0\" frameborder=\"0\">";<br />
sFrames +="<FRAME NAME=\"nav\" SRC=http://www.htmlforums.com/archive/index.php/\"nav.html\" SCROLLING=\"no\" NORESIZE>";<br />
sFrames +="<FRAME NAME=\"main\" SRC=http://www.htmlforums.com/archive/index.php/\"intro.html\"></FRAMESET>";<br />
document.write(sFrames);<br />
} else {<br />
sFrames = "<FRAMESET COLS=\"155,*\" border=\"0\">";<br />
sFrames +="<FRAME NAME=\"nav\" SRC=http://www.htmlforums.com/archive/index.php/\"nav.html\" SCROLLING=\"no\" border=\"0\" NORESIZE>";<br />
sFrames +="<FRAME NAME=\"main\" SRC=http://www.htmlforums.com/archive/index.php/\"intro.html\" border=\"0\" NORESIZE></FRAMESET>";<br />
document.write(sFrames);<br />
}<br />
<br />
And it works! <<<BUT>>>> Netscape is still inconsistent... anywhere from 151 to 160 on the width of that frame looks the same as 150 did! Unless I resize the browser window, then it gets bigger and smaller seemingly randomly (this is troubling--- is it always like this?)... Then when I put 161 in there it's way too big! <br />
Anyway, thanks for your previous responses, if you have any other thoughts I would appreciate it.. thanks,<br />
-E<!--content-->Try some of these attributes within your frame tags and see if they help...<br />
<br />
<br />
marginwidth=0 marginheight=0 <br />
<br />
Regards,<br />
Kevin<!--content-->
 
Back
Top