java buttons

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • r.schacht

    java buttons

    Hi,

    I am using the following code to create buttons. The code works fine and
    places the text on the imported gif file. The only problem is the text is
    too low. I need to add some code to move the text up just a little instead
    of having it in the center of the gif file.

    Does anyone know of any code to move the text up just a little?

    Thanks in advance.


    document.write( '<input class="dynamic" name=b5 type="button" value="Contact
    Info" style="height:5 0;background:ur l(gif/bottom_off.gif) "
    onMouseOver="Dy namicOver(4)" onMouseOut="Dyn amicOut(4)" onclick="Link(4 )">')


    ----------------------------------------------------------------------------
    ----
    Randy Schacht


  • r.schacht

    #2
    Re: java buttons

    Thanks, that is just what I needed.

    "Lasse Reichstein Nielsen" <lrn@hotpop.com > wrote in message
    news:y8xc69i9.f sf@hotpop.com.. .
    "r.schacht" <r.schacht@comc ast.net> writes:
    [color=blue]
    > I am using the following code to create buttons. The code works fine and
    > places the text on the imported gif file. The only problem is the text is
    > too low. I need to add some code to move the text up just a little instead
    > of having it in the center of the gif file.
    >
    > Does anyone know of any code to move the text up just a little?[/color]

    Try adding this CSS declaration to the style attribute:
    padding-bottom:10px;

    /L
    --
    Lasse Reichstein Nielsen - lrn@hotpop.com
    Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
    'Faith without judgement merely degrades the spirit divine.'


    Comment

    Working...