Results 1 to 2 of 2

Thread: Tip for positionning frame in Netscape

  1. #1

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    Tip for positionning frame in Netscape

    does somebody know a good way to arrange frames exactly like you want!
    *********in netscape**********

    when i'm trying to align frame sometime(well everytime with netscape)
    if there is a space between two frame, i reduce the height, if i am missing piece of a frame i put it higher.

    but my problem is:

    example:

    100 would be to short
    and
    101 would be to long

    what the *****!



    Code:
    <HTML>
    <script language=javascript>
    	<!--
    	if (navigator.appName =="Netscape"){
    		if (screen.availWidth != 0){
    			document.write("<frameset cols=\"*,800,*\" border=\"0\">");
    				document.write("<frame src=\"leftblank.html\" border=\"0\" scrolling=\"no\">");
    				document.write("<frameset rows=\"*,9,160,254,12,*\" border=\"0\">");
    					document.write("<frame src=\"topblank.html\" border=\"0\" scrolling=\"no\">");
    					document.write("<frame src=\"header.html\" border=\"0\" scrolling=\"no\" topmargin=\"0\" marginheight=\"0\">");	
    					document.write("<frame src=\"menu.html\" border=\"0\" scrolling=\"no\">");
    					document.write("<frame name=\"content\" src=\"main.html\" border=\"0\" scrolling=\"no\">");
    					document.write("<frame src=\"footer.html\" border=\"0\" scrolling=\"no\">");	
    					document.write("<frame src=\"bottomblank.html\" border=\"0\" scrolling=\"no\">");	
    				document.write("</frameset>");
    				document.write("<frame src=\"rightblank.html\" border=\"0\" scrolling=\"no\">");
    			document.write("</frameset>");
    	
    		}else{
    			document.write("<frameset rows=\"12,163,256,12\" border=\"0\">");
    				document.write("<frame src=\"header.html\" border=\"0\" scrolling=\"no\" topmargin=\"0\" marginheight=\"0\">");	
    				document.write("<frame src=\"menu.html\" border=\"0\" scrolling=\"no\">");
    				document.write("<frame name=\"content\" src=\"main.html\" border=\"0\" scrolling=\"no\">");
    				document.write("<frame src=\"footer.html\" border=\"0\" scrolling=\"no\">");		
    			document.write("</frameset>");
    		}
    	}else{
    		document.write("<frameset cols=\"*,800,*\" border=\"0\">");
    			document.write("<frame src=\"leftblank.html\" border=\"0\" scrolling=\"no\">");
    			document.write("<frameset rows=\"*,9,160,254,10,*\" border=\"0\">");
    				document.write("<frame src=\"topblank.html\" border=\"0\" scrolling=\"no\">");
    				document.write("<frame src=\"header.html\" border=\"0\" scrolling=\"no\" topmargin=\"0\" marginheight=\"0\">");	
    				document.write("<frame src=\"menu.html\" border=\"0\" scrolling=\"no\">");
    				document.write("<frame name=\"content\" src=\"main.html\" border=\"0\" scrolling=\"no\">");
    				document.write("<frame src=\"footer.html\" border=\"0\" scrolling=\"no\">");	
    				document.write("<frame src=\"bottomblank.html\" border=\"0\" scrolling=\"no\">");	
    			document.write("</frameset>");
    			document.write("<frame src=\"rightblank.html\" border=\"0\" scrolling=\"no\">");
    		document.write("</frameset>");
    	}	
    	//-->
    </script>
    </HTML>

  2. #2
    Hyperactive Member PJB's Avatar
    Join Date
    Aug 2000
    Location
    dunno at the moment
    Posts
    302
    don't know if it has anything at all to do with your problem but i was always told that Netscape has a tendency to round frames to the nearest 10 pixels
    VB6.0 SP4
    Windows 2000
    I'm thinking of a number between

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width