HTML: Help Me ;)

Discussion in 'Computer Games and General Discussion' started by .:drk_drgn:., Nov 30, 2009.

  1. .:drk_drgn:.
    OP

    .:drk_drgn:. rawr

    Member
    126
    15
    Oct 17, 2008
    Can you please help me? I want my middle part to be joined to the top of the page, but it is not working. Can you help me please? [​IMG]

    Herez teh html codz

    CODE



    SHE Agency


    ÂÂÂÂÂÂÂÂ
    ÂÂÂÂÂÂÂÂÂÂÂÂ

    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂim sooo goood. :D
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ
    ÂÂÂÂÂÂÂÂÂÂÂÂ​
    ÂÂÂÂÂÂÂÂ
    ÂÂÂÂ


    Thanks [​IMG]

    EDIT: Can you also help me put a border on the left and right side of the table? Please include color and thickness [​IMG]

    Thanks again
     
  2. legendofphil

    legendofphil Phil no Densetsu

    Member
    2,214
    2
    Nov 19, 2002
    If you mean have no gap between your table and the top of the page you need to use CSS to force it there. HTML has many faults and puts gaps everywhere.

    In my opinion I would get rid of the tables and just use CSS, you can place it exactly where you want it and not have any problems if you use it properly. It's not hard to learn the basics.
     
  3. michaeru

    michaeru Member

    Newcomer
    41
    0
    Apr 18, 2009
    Ph
    CODE


    ÂÂÂÂ

    ÂÂÂÂÂÂÂÂSHE Agency

    ÂÂÂÂÂÂÂÂ

    ÂÂÂÂÂÂÂÂÂÂÂÂbody {

    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂbackground: #900000;
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂmargin: 0px;
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂtext-align: center;

    ÂÂÂÂÂÂÂÂÂÂÂÂ}

    ÂÂÂÂÂÂÂÂÂÂÂÂ#mainDiv {

    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂbackground: #F7F7F7;
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂborder-left: solid 2px #000;
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂborder-right: solid 2px #000;
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂmargin: auto;
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂpadding: 2px;
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂtext-align: left;
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂwidth: 900px;

    ÂÂÂÂÂÂÂÂÂÂÂÂ}

    ÂÂÂÂÂÂÂÂ

    ÂÂÂÂ

    ÂÂÂÂ

    ÂÂÂÂÂÂÂÂÂÂÂÂ
    ÂÂÂÂÂÂÂÂÂÂÂÂ
    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂim sooo goood. :D

    ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ

    ÂÂÂÂ



    Use div + css as much as possible instead of tables.
     
  4. legendofphil

    legendofphil Phil no Densetsu

    Member
    2,214
    2
    Nov 19, 2002
    That's more like it (just mocked up pretty much the same thing), if you want to use the same style across multiple pages the CSS should be in a .css file.
    That way you can make changes to one file and update the whole of your site in one go.
     
  5. Wabsta

    Wabsta you fight like a dairy farmer

    Member
    2,498
    69
    Apr 25, 2008
    Netherlands
    SCUMM Bar
    The width of the table is 0%?
     
  6. .:drk_drgn:.
    OP

    .:drk_drgn:. rawr

    Member
    126
    15
    Oct 17, 2008
    Yeah I heard about this. I'll look into that.

    Thanks [​IMG]
     
  7. prowler

    prowler Sony

    Member
    9,473
    2,816
    Jul 14, 2009
    Ragol
    CSS is easy, as well with HTML.