DIV Help - very urgent

Discussion in 'HTML & Website Design' started by creativeartist, Sep 20, 2010.

  1. #1
    I have attached a screen here

    There is a main div required to show the RSS fields. All the blocks are DIVS.
    How we can use DIV to create a block like MAIN DIV in the document?. Pls help
     

    Attached Files:

    • div.JPG
      div.JPG
      File size:
      20 KB
      Views:
      73
    creativeartist, Sep 20, 2010 IP
  2. BlogSetupLab

    BlogSetupLab Peon

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Not sure I understand your question completely but try this:
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Untitled Document</title>
    </head>
    
    <body>
    <div id="Layer1" style="position: absolute; left: 15px; top: 15px; width: 703px; height: 58px; z-index: 1; vertical-align: middle">Main</div>
    <div id="Layer2" style="position: absolute; left: 728px; top: 15px; width: 303px; height: 29px; z-index: 2; vertical-align: middle">1</div>
    <div id="Layer3" style="position: absolute; left: 1041px; top: 15px; width: 304px; height: 29px; z-index: 3; vertical-align: middle">2</div>
    <div id="Layer4" style="position: absolute; left: 728px; top: 44px; width: 303px; height: 29px; z-index: 4; vertical-align: middle">3</div>
    <div id="Layer5" style="position: absolute; left: 1041px; top: 44px; width: 304px; height: 29px; z-index: 5; vertical-align: middle">4</div>
    
    </body>
    </html>
    PHP:
    It's fairly basic and you'd need to adjust your widths etc. but might get you started.
     
    BlogSetupLab, Sep 20, 2010 IP