Welcome our webmaster and SEO forum
Please enjoy the forum, contribute what you can, and wind up the Moderators!
Closed Thread
Results 1 to 5 of 5

Thread: HTML Layout Tutorial

  1. #1
    Scripter is offline Banned Scripter will become famous soon enough
    Join Date
    Oct 2007
    Posts
    183

    Thumbs up HTML Layout Tutorial

    Ok yet another of my tutorials.
    This should be a great way for bigginers starting thier first website.
    I have added images to this tutorial.

    HTML layout is very basic. Not many options exist with the body tag alone. Tables on the other hand are the bread and butter of HTML layouts. Any element may be placed inside of a table including tables themselves.

    Html Code:
    -----------------------------------------------------------------------
    <table id="shell" bgcolor="black" border="1" heigh="200" width="300">
    <tr><td>
    <table id="inner" bgcolor="white" heigh="100" width="100">
    <tr><td>Tables inside tables!</td></tr>
    </table>
    </td></tr></table>
    -----------------------------------------------------------------------



    The white table (identified as inner) exists inside of the (shell) table, the black one. A light bulb should be going off inside of your head as you explore how this system will allow for the creation of limitless layouts


    HTML - Standard Layout
    A fairly standard layout consists of a banner near the top, navigation, and your content or display box. These are the backbone to any great website.

    Html Code:
    -----------------------------------------------------------------------
    <table cellspacing="1" cellpadding="0" border="0"
    bgcolor="black" id="shell" height="250" width="400">
    <tr height="50"><td colspan="2" bgcolor="white">
    <table title="Banner" id="banner" border="0">
    <tr><td>Place a banner here</td></tr>
    </table>
    </td></tr>
    <tr height="200"><td bgcolor="white">
    <table id="navigation" title="Navigation" border="0">
    <tr><td>Links!</td></tr>
    <tr><td>Links!</td></tr>
    <tr><td>Links!</td></tr>
    </table>
    </td><td bgcolor="white">
    <table title="Content" id="content" border="0">
    <tr><td>Content goes here</td></tr>
    </table>
    </td></tr></table>

    -----------------------------------------------------------------------

    Basic Layout 1 Product


    This approach is basic yet organized. Often times websites become too complex for the viewer to follow. The code becomes complex rather fast, you will need to be sure to properly assign height and width values to your tables as well. The more specific you are about heights and widths, the less debugging you will have to perform.

    Html Code:
    ----------------------------------------------------------------------
    <table id="shell" title="Shell" height="250" width="400"
    border="0" bgcolor="black" cellspacing="1" cellpadding="0">
    <tr height="50"><td bgcolor="white">
    <table title="banner" id="banner">
    <tr><td>Banner goes here</td></tr>
    </table>
    </td></tr>
    <tr height="25"><td bgcolor="white">
    <table title="Navigation" id="navigation">
    <tr><td>Links!</td>
    <td>Links!</td>
    <td>Links!</td></tr>
    </table>
    </td></tr>
    <tr><td bgcolor="white">
    <table title="Content" id="content">
    <tr><td>Content goes here</td></tr>
    </table>
    </td></tr></table>

    -----------------------------------------------------------------------

    Basic Layout 2 Product


    The code is quite a lot to look at, break it up and organize it in your own way to make things easier for you.
    For personal tutorials on html pm me a request of a tutorial you may need.
    If you have difficulties viewing the coding, please post below, and i will resize it.

    Thankyou
    Scripter

  2. #2
    temi's Avatar
    temi is offline Facilitator temi is just really nice temi is just really nice temi is just really nice temi is just really nice temi is just really nice
    Join Date
    Jun 2003
    Location
    London, England.
    Posts
    10,304

    Default

    Go scripter. SEO consultants are particular about using div rather than table, I wonder if Bagi can explain why to us.

    * Build a shopping cart for your business with eCommerce software UK
    * BossCart.com can build you a.
    Register your domain names at Velnet
    ::
    Add Eco sites to The Green Directory free of charge.
    Use LBS Free PHP Directory Script . Web Hosting Blog

  3. #3
    Scripter is offline Banned Scripter will become famous soon enough
    Join Date
    Oct 2007
    Posts
    183

    Default

    Yea, thats why i posted this in complete begginers.
    I wil go about a tutorial on that to if wanted

  4. #4
    Bagi Zoltán's Avatar
    Bagi Zoltán is offline Boss Cart consultant Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of Bagi Zoltán has much to be proud of
    Join Date
    Feb 2007
    Location
    Veszprém, Hungary
    Posts
    1,225

    Default

    Yes, i didn't want to mention my <div> mania. I recognised that this is for complete beginners so i gave him a rep instead.

  5. #5
    Scripter is offline Banned Scripter will become famous soon enough
    Join Date
    Oct 2007
    Posts
    183

    Default

    Lol, no worries, ill be doing a much more intense one. I tryed the images here, hope it helps alot too.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. New Forum Layout Discussion + Feedback
    By mike in forum Feedback (Don't holdback :)
    Replies: 0
    Last Post: 09-05-2007, 07:29 AM
  2. layout problem - please help!
    By Piotrek in forum General Webmaster Talk
    Replies: 7
    Last Post: 08-14-2007, 08:33 AM
  3. Contents layout
    By Piotrek in forum Boss Cart Skins and Templates
    Replies: 2
    Last Post: 06-04-2006, 12:00 PM
  4. Working on a new layout. Please give some suggestions
    By seb_ in forum General Webmaster Talk
    Replies: 5
    Last Post: 05-12-2005, 08:41 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124