how to load only a piece of a window

Discussion in 'CSS' started by FriendSwapMeet.com, May 11, 2010.

  1. #1
    im trying to make a iframe with out actually using an i frame how would i do that with css?
     
    FriendSwapMeet.com, May 11, 2010 IP
  2. swashata

    swashata Member

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #2
    Now what kind of question is that?? If you mean you want to make columns then thats quite easy in CSS.
    
    <style type="text/css">
    #div1 {
    width: 40%;
    margin: 0 5%;
    padding: 0;
    float: left;
    }
    #div2 {
    width: 40%;
    margin: 0 5%;
    padding: 0;
    float: right; /* or can also be left. As the total width of the two divs are 40%+40%[the width of boxes] + 5%*(2+2) [For left right margin of both the divs = 100% */
    }
    </style>
    <div id="div1">
    <!--Left box content here -->
    </div>
    <div id="div2">
    <!-- Right box content here -->
    </div>
    
    HTML:
    I hope this solves your problem! Please be precise next time!
     
    swashata, May 15, 2010 IP
  3. FriendSwapMeet.com

    FriendSwapMeet.com Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    im sorry i ment like an iframe but i dont want to use an iframe
     
    FriendSwapMeet.com, May 15, 2010 IP
  4. swashata

    swashata Member

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #4
    Means you want to load another webpage inside a webpage? That seems to be an AJAX job!
     
    swashata, May 15, 2010 IP
  5. xtek

    xtek Well-Known Member

    Messages:
    943
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    130
    #5
    I suppose you mean the overflow line in a div?
    That will add the scrollbar to the div.
     
    xtek, May 18, 2010 IP