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 get boxes like this site:

Discussion in 'PHP' started by Ssj2GohanTeen, Dec 2, 2009.

  1. #1
    Ssj2GohanTeen, Dec 2, 2009 IP
    taminder likes this.
  2. ebookbusiness

    ebookbusiness Member

    Messages:
    41
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    Not sure if this is the answer you are looking for but the boxes are simply CSS DIVs.
     
    ebookbusiness, Dec 3, 2009 IP
  3. Ssj2GohanTeen

    Ssj2GohanTeen Member

    Messages:
    102
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #3
    Well yeah i kinda figured that out by the source code but i still dont know how to get it myself then..
     
    Ssj2GohanTeen, Dec 3, 2009 IP
  4. taminder

    taminder Peon

    Messages:
    581
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    
    <table cellspacing="0" cellpadding="0">
      <tbody>
        <tr>
          <td>Box 1</td>
          <td>Box 2</td>
          <td>Box 3</td>
        </tr>
      </tbody>
    </table>
    
    Code (markup):
    now you can just style them to your preference. in the previous example, just add padding and a fixed width. also make the colors (if you need help, reply here or just PM me).

    I wrote this code just to show the base, but if you want me to duplicate the boxes for you, just let me know and I'll make one for you.
     
    taminder, Dec 5, 2009 IP
  5. Ssj2GohanTeen

    Ssj2GohanTeen Member

    Messages:
    102
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #5
    Ssj2GohanTeen, Dec 9, 2009 IP
  6. Edgar_fox

    Edgar_fox Active Member

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #6
    Go to view -> Source and find this table :) if u want css then go to the header, find css file name, write it to the adress bar and that's all:)
     
    Edgar_fox, Dec 9, 2009 IP
  7. kingsoflegend

    kingsoflegend Well-Known Member

    Messages:
    202
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    108
    #7
    Use the padding or margin attributes in CSS to do this, but I'd recommend learning some basic HTML first.
     
    kingsoflegend, Dec 9, 2009 IP
  8. unitechy

    unitechy Peon

    Messages:
    350
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Learn some basic HTML, that might help in future:
    <table width="200" border="1">
      <tr>
        <td height="56"><div align="center">hello</div></td>
      </tr>
      <tr>
        <td height="86"> <div align="center">hello </div></td>
      </tr>
    </table>
    Code (markup):
     
    unitechy, Dec 9, 2009 IP
  9. Ssj2GohanTeen

    Ssj2GohanTeen Member

    Messages:
    102
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #9
    I already got that... so im pretty sure i know basic html -.- thnx anyways
     
    Last edited: Dec 9, 2009
    Ssj2GohanTeen, Dec 9, 2009 IP