HTML: Help Me ;)

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

Nov 30, 2009

HTML: Help Me ;) by .:drk_drgn:. at 12:56 PM (980 Views / 0 Likes) 6 replies

  1. .:drk_drgn:.
    OP

    Member .:drk_drgn:. rawr

    Joined:
    Oct 17, 2008
    Messages:
    126
    Country:
    United Kingdom
    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

    Member legendofphil Phil no Densetsu

    Joined:
    Nov 19, 2002
    Messages:
    2,214
    Country:
    United Kingdom
    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

    Newcomer michaeru Member

    Joined:
    Apr 18, 2009
    Messages:
    41
    Location:
    Ph
    Country:
    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

    Member legendofphil Phil no Densetsu

    Joined:
    Nov 19, 2002
    Messages:
    2,214
    Country:
    United Kingdom
    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

    Member Wabsta you fight like a dairy farmer

    Joined:
    Apr 25, 2008
    Messages:
    2,485
    Location:
    SCUMM Bar
    Country:
    Netherlands
    The width of the table is 0%?
     
  6. .:drk_drgn:.
    OP

    Member .:drk_drgn:. rawr

    Joined:
    Oct 17, 2008
    Messages:
    126
    Country:
    United Kingdom
    Yeah I heard about this. I'll look into that.

    Thanks [​IMG]
     
  7. prowler

    Member prowler Sony

    Joined:
    Jul 14, 2009
    Messages:
    9,473
    Location:
    Ragol
    Country:
    United Kingdom
    CSS is easy, as well with HTML.
     

Share This Page