Javascript-форум (https://javascript.ru/forum/)
-   (X)HTML/CSS (https://javascript.ru/forum/xhtml-html-css/)
-   -   css скрытие текста на submit'е (https://javascript.ru/forum/xhtml-html-css/9855-css-skrytie-teksta-na-submit%27e.html)

Jekel 08.06.2010 18:13

css скрытие текста на submit'е
 
Привет, как стилем убрать из кнопки текст?
сейчас на кнопке "1" написано...как убрать?
<?php
echo $_POST['value'];
?>
<form method="post" action="">
<input type="button" name="value" value="1" style="width:15px; border:0; height:15px; background:url(/img/ava.jpg);"/>
</form>

e1f 08.06.2010 18:30

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
    <title>untitled</title>

    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <meta name="generator" content="Geany 0.18.1.1" />

    <style type="text/css">
    .control-with-hover-effect {
        color: red;
        font-weight: bold;
    }

    .control-with-hover-effect:hover span {
        visibility: hidden;
    }
    </style>
</head>

<body>
<p><button class="control-with-hover-effect"><span>test</span></button></p>
</body>
</html>

Jekel 08.06.2010 20:56

спасибище тебе, юзаю


Часовой пояс GMT +3, время: 06:50.