Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
  1. #1
    Senior Member kirman's Avatar
    Join Date
    May 2003
    Location
    UK England
    Posts
    765
    Member #
    1499
    Liked
    2 times
    hey people,
    i've seen pages and people have been using these <div> and <iframe> tags and im like can some1 explain what they are for and how to use em in code?

    cuz im kinda new to these lol

    thnx
    Dream like you'll live forever. Live like you're gonna die 2morrow!

  2.  

  3. #2
    Senior Member Grommet's Avatar
    Join Date
    Jul 2003
    Location
    Stuart, Fl
    Posts
    459
    Member #
    2129
    Liked
    3 times
    iframes are not cool stay away.

    There for creating an inline frame, like a box inside your site that links to another page such as a page in a page. Its mainly used for creating a scrollbar field, but you have limited options with them :/.

    Heres a link to figure out div code. Its pretty much creating a block.
    http://www.htmlcodetutorial.com/_DIV.html
    Jason Anderson
    Grommet Designs
    Web / Graphic Design

  4. #3
    Senior Member kirman's Avatar
    Join Date
    May 2003
    Location
    UK England
    Posts
    765
    Member #
    1499
    Liked
    2 times
    so <div> tags just basically place a scrollbar in the page like the imframe does ?

    i dont want to use them i was just wonduring what they are for. So when i look at peoples source code i know what that part is and am not all confused then lol
    Dream like you'll live forever. Live like you're gonna die 2morrow!

  5. #4
    Senior Member Grommet's Avatar
    Join Date
    Jul 2003
    Location
    Stuart, Fl
    Posts
    459
    Member #
    2129
    Liked
    3 times
    Well im not super familiar with the div tag, but it seems like its just for creating a box of text (no scrollbar
    ) and you can set some css to it and align it in funky places -.-
    Jason Anderson
    Grommet Designs
    Web / Graphic Design

  6. #5
    Senior Member
    Join Date
    Jun 2003
    Location
    Australia
    Posts
    735
    Member #
    1935
    they dont create scrollbars. They are just used to span out and box text/images/etc. They are sort of an alternative to tables. Similar to the <span> tag.

  7. #6
    Member Black Vivi's Avatar
    Join Date
    Apr 2003
    Location
    UK
    Posts
    75
    Member #
    1072
    u can make them use scrolbars by specifying a height for them, and putting this inside the div tag:
    Code:
    style="overflow:auto;"
    Download Firebird now!

  8. #7
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    DIV elements, as their name suggests, are divisions within your page. They can have a size, placement, color, and layer order specified for them. Each DIV is kind of like a page within your page, and can be treated almost like a photoshop layer. When creating a page using divs, you can (similarly to creating a drawing with photoshop) layer elements on top of elements using different DIV layers. Because DIVs are like mini-pages, they can have scrollbars added to them also. Using DHTML, they can be animated (ever seen a pop-up menu?). They are extremely powerful and worth learning more about.

    IFRAME elements (inline frames) are similar in concept to divs, except that they specify an external source for their content, so that they're more similar in execution to FRAMEs. They can be layered, positioned and manipulated around like DIVs, though, which makes them more useful than FRAMEs in some circumstances. There are specific uses for which IFRAMEs are extremely convenient, but they really aren't the best choice for web use.

  9. #8
    Senior Member kirman's Avatar
    Join Date
    May 2003
    Location
    UK England
    Posts
    765
    Member #
    1499
    Liked
    2 times
    1 word = tutorial

    have u got any that i can look at? on both iframes and div tags.. as i ant got a clue about coding either.. .

    thnx for the replies
    Dream like you'll live forever. Live like you're gonna die 2morrow!

  10. #9
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    JR

  11. #10
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Also, I've been using framesets + scrolling divs to create this site: http://www.stevenmoseley.com/ifg (i know i keep posting it, but it seems to be applicable to everything!)


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:23 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com