Results 1 to 9 of 9

Thread: Framesets

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Framesets

    I am about to change some existing code based on framesets .
    I have a problem, how do I align the code EXACTLY to the right or left using this frameset:

    Code:
    <frameset rows="300px,*" border=0 valign=top style="position:fixed; top:0px;">
    	 <frame name="top" src="operator.asp" frameborder=1 scrolling=no>
    		 <frameset cols="50%,*">
    	 		   <frame name="venstre" src="intro.htm" frameborder=1 style="position:fixed; right:0px;">
    			   <frame name="right" src="blank.htm" frameborder=1 style="position:fixed; left:0px;"> 
    	     </frameset>
    </frameset>
    If I make some code in the file Intro.htm and align it to the right, then there is a margin of appr. 10 px. HOW DO I GET RID OF THAT?

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Re: Framesets

    Here is a screenshot, which shows the frames and the borders. I wish to have the table left placed at the right of the left frame
    Attached Images Attached Images  

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Re: Framesets

    Now I've sloved the problem with the upper margin and the left margin setting marginwidth=0 and marginheight=0 in the frameset, but...
    it seems like there is a margin to the right???
    Attached Images Attached Images  

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Framesets

    The margin could come from the embedded page.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Re: Framesets

    I have checked that, you mean on the page including the frameset?
    This is my frame code:
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    	<title>Logstor WebStaTech v2.0 © - Calculation tool for preinsulated pipe systems</title>
    	<link href="default.css" rel="stylesheet" type="text/css">
    </head>
    <frameset rows="300px,*" border=0 valign=top>
    	 <frame name="top" src="operator.asp" frameborder=1 scrolling=no marginwidth=0 marginheight=0>
    		 <frameset cols="50%,*">
    	 		   <frame name="venstre" src="intro.htm" frameborder=1 marginwidth=0 marginheight=0>
    			   <frame name="right" src="blank.htm" frameborder=1 marginwidth=0 marginheight=0> 
    	     </frameset>
    </frameset>							   	
    <body>
    
    </body>
    </html>

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Framesets

    No, I mean the page embedded in the frameset. Browsers all have either a margin or a padding on the body element by default.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Re: Framesets

    OK, so I have to set Marginwidth=0 and marginheight=0 on the page? How and where do I do that?

  8. #8
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Framesets

    You don't. You do it in a style sheet that you link from whatever page you include in your frameset.

    body {
    margin: 0;
    padding: 0;
    }
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  9. #9

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Re: Framesets

    Great, I'll try that, thanks

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