it:ad:html:howto:faq

IT:AD:HTML:HowTo:FAQ

  • Q: How do I assign width to a label in a form (it's ignored):
    • A: Add a float to the label, so that it rises up to the top left of the row div it is in:

    <style>
	label {float:left; width: 120px; margin-right: 10px;display:inline;}
    </style>
    
    <div>
      <label for="name">Name:</label>
      <input id="name" data-bind="value:record.name" required />
    </div>

  • /home/skysigal/public_html/data/pages/it/ad/html/howto/faq.txt
  • Last modified: 2023/11/04 01:44
  • by 127.0.0.1