Web Analytics Made Easy -
StatCounter Plz solve my prob...I am new in HTML - CodingForum

Announcement

Collapse
No announcement yet.

Plz solve my prob...I am new in HTML

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Plz solve my prob...I am new in HTML

    What's wrong with my code?

    <html>
    <head>
    <title>My website</title>
    </head>
    <body style="background-image:url('D:\My website\bg_2.gif');">
    <h1 style="font-family:calibri;font-size:80px;color:#A8CDE8;text-align:right;">>>>Home</h1>
    <div style="margin-right:600px">
    <table cellspacing="5px" style="border:0;width:80px;background-color:#C5D0E4;margin-top:50px;">
    <div>
    <tr style="border:groove;background-color:#799EF4;text-align:center;font-size:20px;font-family:calibri">
    <td>Home</td>
    </tr>
    <tr style="border:groove;background-color:#799EF4;text-align:center;font-size:20px;font-family:calibri">
    <td>Bio</td>
    </tr>
    <tr style="border:groove;background-color:#799EF4;text-align:center;font-size:20px;font-family:calibri">
    <td>Gallery</td>
    </tr>
    <tr style="border:groove;background-color:#799EF4;text-align:center;font-size:20px;font-family:calibri">
    <td>Register</td>
    </tr>
    <tr style="border:groove;background-color:#799EF4;text-align:center;font-size:20px;font-family:calibri">
    <td>Contact</td>
    </tr>
    </div>
    <div style="margin-left:700px">
    <form name="input" action="html_form_action.asp"
    method="get">
    Username:
    <input type="text" name="user">
    Passward:
    <input type="Passward" name="pwd">
    <input type="submit" value="Submit">
    </form>
    </div>

    </body>
    </html>

    Remarks:
    1) I want to put menu at left side of the page.
    2) (log in )at the right side of the page under title (Home).
    3) In the middle of the page i want to put text

  • #2
    First, you dont declare a valid doctype, which is essential for cross browser compliance.

    Second, if you're using tables for whole page layouts, you should know why tables for layouts are bad.

    You should also, as already suggested(I think) make sure you have valid code, which means opening and closing all your tags. The validator can help with writing clean good code.
    Teed

    Comment

    Working...
    X