42 users online (0 members and 42 guests)  


  Results 1 to 4 of 4

Related

  1. Inline Frames Script    Forum: Website Scripts Forum
    Replies: 3
  2. Linking to Inline Frames    Forum: HTML Forum
    Replies: 1
  3. Inline Frames Help    Forum: HTML Forum
    Replies: 3
  4. inline frames.    Forum: HTML Forum
    Replies: 1
  5. Does Netscape support inline frames    Forum: HTML Forum
    Replies: 1
  1. #1
    Kandie's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2004
    Posts
    2

    Positioning inline frames- HELP!

    I need help positioning my inline frames. How can I place the frames on a specific place on the page without using that label "bottom" or "right", etc.?

  2. #2
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732
    Hi there Kandie,

    Welcome to these forums.

    You may obtain precise positioning with 'css'.
    Here is a simple example...
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <meta content="mshtml 6.00.2800.1264" name="generator" />
    <title>Iframe</title>
    
    <style type="text/css">
    /*<![CDATA[*/
    
    iframe
       {
        width:486px;        /*adjust these values for iframe dimensions*/
        height:300px;       /*adjust these values for iframe dimensions*/
       }
    
    div#ifm
       {
        position:absolute;
        left:100px;         /*adjust these values for iframe position*/
        top:50px;           /*adjust these values for iframe position*/
       }
     
    /*//]]>*/
    </style>
    </head>
    <body>
    
    <div id="ifm"><iframe src="http://www.w3schools.com/"></iframe></div>
    
    </body>
    </html>
    I hope that this helps...

    cthead

  3. #3
    Kandie's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2004
    Posts
    2

    Sorry, it didn't help.....

    I'm sorry, but that didn't help...... I need an explanation, not just HTML for me to slap on my page........ I'm so lost........

  4. #4
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732
    Hi there Kandie,

    I am sorry that it did not help you, but all is not lost

    If you need 'css' tuition then check out these links
    1. w3schools initially
    2. http://www.w3schools.com/css/css_positioning.asp]w3schools with particular regard to positioning


    cthead



Tags for this Thread