Reference or Tutorial for placing div elements/creating div layouts

Discussion in 'HTML & Website Design' started by cscott5288, Jan 29, 2009.

  1. #1
    Hello,

    I am in the process of learning HTML. I was wondering if anyone could explain or point me to a reference of how to use <div> tags. I understand that they are basically container tags, that can be placed around any number of other tags, format them with CSS, and be moved anywhere on the layout. I just don't know the specific codes that will perform these kind of operations, and am having difficulty finding it.

    If I want to position a <div> anywhere on the page, how would I do it and how do they conflict with other <div> tags?

    Edit: Also, I would like to add: many web designers combine use of the "float" attribute in the CSS of div elements. How can this be done to create workable layouts?

    Thanks so much!
     
    cscott5288, Jan 29, 2009 IP
  2. sergeykazakov

    sergeykazakov Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    position: absolute;
    position: relative;
    float: left;
    float: right;
    Look and study.
     
    sergeykazakov, Jan 29, 2009 IP
  3. vicky1408

    vicky1408 Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think subcide.com will get answers for your queries...
     
    vicky1408, Jan 29, 2009 IP