www.webdeveloper.com
Results 1 to 3 of 3

Thread: Inline Frames

  1. #1
    Join Date
    Apr 2005
    Posts
    44

    Inline Frames

    Ive looked around the internet for help on these but cant seem to find anything.

    Basically my new design for my website will have a banner at the top, a menu down the left hand side, with the rest of the space of the page filled in by a inline frame but ive tried just writing the html and even gone into dreamweaver to try and get it to work.

    So basically can somebody tell me how to do this very basic problem in lamen's terms for me please, cos im feeling rather stupid.

  2. #2
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
     "http://www.w3.org/TR/html4/loose.dtd">
    <html lang="en">
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <meta name="Content-Script-Type" content="text/javascript">
        <meta name="Content-Style-Type" content="text/css">
        <title>Example</title>
    		
    		<style type="text/css">
        <!-- 
        	h1 {height:1em}
    			#content {margin-left:7em}
    			#navigation {position:absolute; top:5em; left:0; width:6em}
        -->
        </style>
    		
      </head>
      <body>
        <h1>Logo</h1>
        <div id="content">
        	<iframe src="http://www.w3.org">
    				<a href="http://www.w3.org">W3C</a>
    			</iframe>
    		</div>
    		<ul id="navigation">
    			<li>Fee</li>
    			<li>Fie</li>
    			<li>Foe</li>
    			<li>Fum</li>
    	</ul>
      </body>
    </html>
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  3. #3
    Join Date
    Apr 2005
    Posts
    44
    Awesome thats brilliant!

    Do you know how to change the size of the inline frame? I want it to fit the whole page bar leaving space on the left hand size below a banner for a menu.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles