clickable button

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Roedy Green

    #1

    clickable button

    ..button /* clickable button */ {
    background-color : #f1f391;
    color : #7b3e00;
    border : 3px outset #d2d2d2;
    margin : 0px 2px 0px 2px;
    font-family :Arial,Helvetic a,sans-serif;
    font-size : 120%;
    padding : 0px 6px 0px 6px;
    }

    This works pretty well at generating a button you can click.
    It has only one trouble, since it is a link, it the text is
    underlined.

    I could not find something to override the underline.
    --
    Bush crime family lost/embezzled $3 trillion from Pentagon.
    Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
    http://www.infowars.com/articles/us/...s_rumsfeld.htm

    Canadian Mind Products, Roedy Green.
    See http://mindprod.com/iraq.html photos of Bush's war crimes
  • Els

    #2
    Re: clickable button

    Roedy Green wrote:
    [color=blue]
    > .button /* clickable button */ {
    > background-color : #f1f391;
    > color : #7b3e00;
    > border : 3px outset #d2d2d2;
    > margin : 0px 2px 0px 2px;
    > font-family :Arial,Helvetic a,sans-serif;
    > font-size : 120%;
    > padding : 0px 6px 0px 6px;
    > }
    >
    > This works pretty well at generating a button you can click.
    > It has only one trouble, since it is a link, it the text is
    > underlined.
    >
    > I could not find something to override the underline.[/color]

    Assuming that the above code is being applied to an <a> element:
    ..button:link,
    ..button:visite d{text-decoration:none ;}

    --
    Els http://locusmeus.com/
    Sonhos vem. Sonhos vão. O resto é imperfeito.
    - Renato Russo -
    Now playing: Boomtown Rats - Rat Trap

    Comment

    Working...