Jump to content

Syling labels and inputs...


RIRedinPA

Recommended Posts

Is there a way to achieve this without using <br> tags?

 

Label  Label  Label

Input  Input  Input

 

so the html for the form would look something like this:

 


<form>
<p>
<label for "label1">Label 1</label>
<input type="text" size="20" name="label1">

<label for "label2">Label 2</label>
<input type="text" size="20" name="label2">

<label for "label3">Label 3</label>
<input type="text" size="20" name="label3">
</p>
</form>

 

Would I need to use spans to achieve this?

Link to comment
https://forums.phpfreaks.com/topic/200040-syling-labels-and-inputs/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.