Divs and tables !!!

Discussion in 'HTML & Website Design' started by priyakochin, Apr 9, 2007.

  1. #1
    I just know html.but its not very good by using tables for designing.
    But can u plz help me to know how to use div ???
     
    priyakochin, Apr 9, 2007 IP
  2. RobertMedia

    RobertMedia Active Member

    Messages:
    902
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #2
    RobertMedia, Apr 9, 2007 IP
  3. Dirty-Rockstar

    Dirty-Rockstar Guest

    Messages:
    252
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you want the div tags to effect the entire table wrap them around it example below:

    <div align=center><table width="25" border="1">
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table></div>
    HTML:
     
    Dirty-Rockstar, Apr 9, 2007 IP
  4. ninjashoes

    ninjashoes Well-Known Member

    Messages:
    1,401
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    138
    #4
    Are you asking how you can arrange your page with div tags as opposed to tables?

    heres a tutorial

    http://tutorials.alsacreations.com/div/
     
    ninjashoes, Apr 9, 2007 IP
  5. boyponga

    boyponga Banned

    Messages:
    1,013
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you have a knowledge in CSS, try to master the use of float, padding, margin, and the rest is optional. :)
     
    boyponga, Apr 10, 2007 IP