PDA

View Full Version : سوال: آیکن کنار تکست باکس



Beginner67
جمعه 02 بهمن 1394, 15:18 عصر
سلام
ممنون میشم راهنمایی کنید چطور میتونم کنار تکست باکس ها تصویر بذارم.
مانند این تصویر:

CsharpNevisi
جمعه 02 بهمن 1394, 21:37 عصر
همین کدو دقیقا کپی پیست کن تو ه فایل با پسوند HTML


<!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"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled Document</title></head>
<body bgcolor="#CCCCCC">
<style> * { padding:0px; margin:0px; direction:rtl; } </style>

<div style="width:300px;height:auto;float:right;margin-right:40%;padding:15px;background:#FFFFFF;border:s olid 1px #999999;margin-top:40vh;"> <div style="float:right;width:95%;margin-right:2.5%;background:#E4E4E4;height:50px;border:s olid 1px #999999;border-radius:5px;overflow:hidden;"> <div style="width:50px;height:50px;float:right;border-left:solid 1px #999999"> <img src="http://learn.wenda.ir/Pic/Comment.png" width="21" height="21" style="float:right;margin-right:13.5px;margin-top:13.5px" /> </div> <input type="text" placeholder="متن آزمایشی" style="outline:none;padding:5px;padding-top:17px;padding-bottom:17px;border:none;width:-moz-calc(100% - 61px);width:-webkit-calc(100% - 61px);" /> </div> </div>
</body></html>