form tasarlarken span


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <p class="noMargin textarea"
  2. <span class="lt"></span>
  3. <span class="rt"></span>
  4. <span class="lb"></span>
  5. <span class="rb"></span>
  6. <label for="adres">Açık Adresiniz</label>
  7. <textarea id="adres"></textarea>
  8. </p>
  9.  
  10. css ile �ekillendirirken spanların patlamaması için p ye de�il içindeki input ve form elemanlarına geni�lik ve yükseklik vermeliyiz böylece spanlar tam kö�elere oturacaktır.
  11.  
  12. p { width:auto; }
  13. textarea { width:300px; height:50px; }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.