Results 1 to 3 of 3

Thread: HTML - designing stage of web page

  1. #1

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Cool

    Code:
     <TABLE>
      <TR><INPUT NAME="About" TYPE="Button" VALUE="ABOUT ME" </TR>
      <TR><INPUT NAME="Mail" TYPE="Button" VALUE="MAIL ME" </TR>
      <TR><INPUT NAME="Program" TYPE="Button" VALUE="PROGRAMMING" </TR>
      <TR><INPUT NAME="Joke" TYPE="Button" VALUE="JOKES" </TR>
      <TR><INPUT NAME="Site" TYPE="Button" VALUE="OTHER SITES" </TR>
     </TABLE>
    is what I am working on - my first web page which will be for my home page. Don't all gasp in awe yet though!

    What I would like is to know how to make these buttons the same size and align them, sort of "borrowing" the idea from : http://hjem.get2net.dk/vcoders/cm/

    Has anyone any ideas on this please? will be greatly appriciated! Thank you

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  2. #2
    Guest
    <TABLE>
    <TR><INPUT NAME="About" TYPE="button" VALUE="ABOUT ME" style="HEIGHT: 24px; WIDTH: 149px" TR<>
    <TR><INPUT NAME="Mail" TYPE="button" VALUE="MAIL ME" style="HEIGHT: 24px; WIDTH: 149px" TR<>
    <TR><INPUT NAME="Program" TYPE="button" VALUE="PROGRAMMING" style="HEIGHT: 24px; WIDTH: 149px" TR<>
    <TR><INPUT NAME="Joke" TYPE="button" VALUE="JOKES" style="HEIGHT: 24px; WIDTH: 149px" TR<>
    <TR><INPUT NAME="Site" TYPE="button" VALUE="OTHER SITES" style="HEIGHT: 24px; WIDTH: 149px" TR<>
    </TR>
    </TABLE>

  3. #3
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    If your looking for how they did it, they have two external files to their page, a .js javascript file that contains functions that change the classname of the TD tags of the menu bar, and a .css stylesheet that contains all of the style classnames that describe the 3d look to the borders. It's a bit more complicated but is very fast to load and using no images for the transition effect.

    A simpler but more server intensive way is to create two images one that is loaded on the page initially and another that is loaded on the onmouseover event and just switch between them onmouseover and onmouseout. The downside is the images will have to load and it will not act as snappy as the stylesheet solution.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

Posting Permissions

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



Click Here to Expand Forum to Full Width