1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to simulate a 2 x 2 table

Discussion in 'HTML & Website Design' started by bettinglounge.org, Jun 27, 2005.

  1. #1
    Hi folks, this has puzzled me for a long time, but how do you simulate a 2 x 2 table with <div>

    please help
     
    bettinglounge.org, Jun 27, 2005 IP
  2. roadies

    roadies Well-Known Member

    Messages:
    1,182
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    160
    Digital Goods:
    1
    #2
    Off the cuff, but if I recall correctly:

    <div width="100%> <!--FULL WRAPPER -->
    <div> <!-- Top row -->
    <div width="50%">Box 1A</div>
    <div width="50%">Box 2A</div>
    </div> <!-- may need a <br /> here -->
    <div> <!-- Bottom row -->
    <div width="50%">Box 1B</div>
    <div width="50%">Box 2B</div>
    </div>
    </div>
     
    roadies, Jun 27, 2005 IP