Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
За бутона ти трябва CSS<input type="text" value="Натисни" />
<input type="submit" value="Вход" style='background:#000000; color=#ffffff; border:solid 1px #ff0000' />
Къв php код ,ве пич?aquafresh каза:Код:<input type="submit" value="Вход" style='background:#000000; color=#ffffff; border:solid 1px #ff0000' />
това е php кода?
Това е CSS кода, пише се такаaquafresh каза:Код:<input type="submit" value="Вход" style='background:#000000; color=#ffffff; border:solid 1px #ff0000' />
това е php кода?
<html>
<head>
<style type="text/css">
<input type="submit" value="Вход" style='background:#000000; color=#ffffff; border:solid 1px #ff0000' />
</style>
</head>
<body>
<input type="sumbit" value="Израти">
</body>
</html>
:shock: :shock: :shock: :shock:SveXteZ каза:Това е CSS кода, пише се такаaquafresh каза:Код:<input type="submit" value="Вход" style='background:#000000; color=#ffffff; border:solid 1px #ff0000' />
това е php кода?
И така бутонът ти трябва да си смени цвета като след "background:" можеш да напишеш свой цвят по изборКод:<html> <head> <style type="text/css"> <input type="submit" value="Вход" style='background:#000000; color=#ffffff; border:solid 1px #ff0000' /> </style> </head> <body> <input type="sumbit" value="Израти"> </body> </html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<script type="text/javascript">
function clickclear(thisfield, defaulttext) {
if (thisfield.value == defaulttext) {
thisfield.value = "";
}
}
function clickrecall(thisfield, defaulttext) {
if (thisfield.value == "") {
thisfield.value = defaulttext;
}
}
</script>
<style>
#sub {width: 60px; height: 23px; background: #ddd; border-style: none; font-size: 0.7em; font-weight: bold;}
</style>
</head>
<body>
<input name="txtUserid" type="text" class="potrebitel" size="20" value="Потребител" onclick="clickclear(this, 'Потребител')" onblur="clickrecall(this,'Потребител')">
<input value="В Х О Д" id="sub" type="submit">
</body>
</html>
Промени този ред:aquafresh каза:dominik точно това ми трябва.. само,че бутона искам да е черен :?
#sub {width: 60px; height: 23px; background: #000; border-style: none; font-size: 0.7em; font-weight: bold; color: #fff;}
<html>aquafresh каза:добре и последно .. това поле където пише "Потребител" може ли да е и то черно и вътре с бяло да пише Потребител?
Сложи приaquafresh каза:благодаря много , +1![]()
PS: А как да го центрирам това "потребител" в реда?