Results 1 to 12 of 12
  1. #1

    Question Need HTML code help!

    I need some help with getting my code just right, I am trying to have some buttons on the side of the page, and text in the middle. I have the buttons on the side of the page, but when I try to put text on the side of the buttons in the middle of the page, I am having trouble doing it.

    The text either show up on the bottom of the buttons or on the top of the buttons. I am not sure if I am missing some code or just not typing the code in right.

    Here is a sample of the code I have now. As you can see the text is not where I want it to be. Some help would be nice. Thank you.

    <title>Untitled Document</title>

    <body bgcolor="#000000" text="#FF3300"><center><h1>The Game</h1></center><center><form action="">
    <input type="button" value="Home"><input type="button" value="Information"><input type="button" value="Game Rules">
    </form></center><br /><br /><align left><form action="">
    <input type="button" value="Game1"></form><form action=""><input type="button" value="Game2"></form><form action=""><input type="button" value="Game3"></form><form action="">
    <input type="button" value="Game4"></form><form action=""><input type="button" value="Game5"></form><form action=""><input type="button" value="Game6"></form>
    </form><p><center> How to play the game</center></p>


  2. #2
    Join Date
    Apr 2008
    Montreal, Qc., Canada
    This is an horrific piece of HTML.

    The easiest way to achieve what you want would be to have your left buttons in a floating DIV :

    PHP Code:
    <title>Untitled Document</title>

    body bgcolor="#000000" text="#FF3300"><center><h1>The Game</h1></center><center><form action="">
    input type="button" value="Home"><input type="button" value="Information"><input type="button" value="Game Rules">
    form></center><br /><br />

    div style="float:left;">
    form action="">
    input type="button" value="Game1"></form><form action=""><input type="button" value="Game2"></form><form action=""><input type="button" value="Game3"></form><form action="">
    input type="button" value="Game4"></form><form action=""><input type="button" value="Game5"></form><form action=""><input type="button" value="Game6"></form>

    p><centerHow to play the game</center></p>
    p><centerHow to learn HTML?</center></p>


  3. #3
    Yes, thank you, I am aware how horrific my HTML coding is. I am just learning how to do this, and this is my first attempt at doing a website.

    I do thank you, for the pointers, I shall give it a go.

  4. #4
    It may be worth checking out some of the examples at It's a great website, I always use it for reference when I've forgotten certain things. You can also go on from there and learn the likes of CSS, Javascript, PHP etc.

  5. #5
    Join Date
    Oct 2009
    I much prefer HTML Dog for its tutorials, as HTML Dog actually seems to care about standards and being up-to-date. There are a number of problems with the content on W3Schools. That said, in the beginning I learned some from W3Schools, so its negative effects can't be that bad.

  6. #6
    Join Date
    Sep 2003
    I suggest personally, as I've found their database of tutorials to be very helpful!

  7. #7
    Thank you, all of you, for the websites. I will give them a look and see. I am sure they will help me with my website coding. I hope so anyway.

  8. #8
    Floating will do the job for you. You can find a great article about floats at the famous It is very detailed and will help you a lot.

  9. #9
    Join Date
    Mar 2011


    The easiest way I have seen in developing your own website is by using dreamweaver. Dreamweaver will usually write HTML code for you when you add stuff on to your website e.g if you add a button on the section that you want, you will find that dreamweaver will produce the HTML code that corresponds to what you want. I would suggest you get a copy of Dreamweaver and explore it.

  10. #10
    Thank you for the sites, I will give them a look at. I was looking at w3schools and it is alright, but I will look at the others ones to get more ides. Thank you.

    Yes, I do have dreamweaver, is what I was, and have been using the do the coed in. I can not say I have the latest one, I have CS5. I find it to be very helpful when it comes to putting in some of the code for you. It is very nice.

    Thank you again for the pointers, and the websites.

  11. #11
    there is wordpress plugin for it,you can use code of it,it is very simple...

  12. much prefer Notepad ++

Similar Threads

  1. HTML code
    By Paulo Roberto in forum Design Requests
    Replies: 3
    Last Post: 12-22-2010, 03:42 PM
  2. a html code
    By tinhnho in forum Web Design and Content
    Replies: 8
    Last Post: 07-05-2004, 06:31 PM
  3. Html code?
    By Postmaster in forum Web Hosting
    Replies: 4
    Last Post: 05-05-2004, 10:47 AM
  4. what does this HTML code do ?
    By aircom in forum Programming Discussion
    Replies: 11
    Last Post: 08-26-2003, 01:06 AM
  5. sending HTML with mail() and Outlook receives HTML code
    By ladraum in forum Programming Discussion
    Replies: 1
    Last Post: 05-07-2003, 05:09 PM

Tags for this Thread

Posting Permissions

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