Note that there are some explanatory texts on larger screens.

plurals
  1. POCSS Methods to Style This Form
    primarykey
    data
    text
    <p>So I have a form like this, which currently has a bunch of text input boxes and a submit button. Rather than using a table (which seems like a messy method), I would like to use CSS. How would I format this in a way that looked presentable/professional (hopefully not too vague of a question?)</p> <pre><code>&lt;h2&gt;Add Record to Database&lt;/h2&gt; &lt;form action="addrecord.psp" method="get"&gt; Username: &lt;input type="text" name="uname" size="12"/&gt; Machine Name:&lt;input type="text" name="mname" size="8" /&gt; Make: &lt;input type=text" name="make" size="8" /&gt; Model: &lt;input type="text" name="model" size="8"/&gt; Service Tag: &lt;input type="text" name="service" size="8"/&gt; Processor: &lt;input type="text" name="processor" size="12"/&gt;&lt;br /&gt; Processor Speed: &lt;input type="text" name="speed" size="4"/&gt; Amount of RAM: &lt;input type="text" name="ram" size="3"/&gt; Type of RAM: &lt;input type="text" name="ram2" size="4"/&gt; RAM Speed: &lt;input type="text" name="rspeed" size="4"/&gt;&lt;br /&gt; Graphics Card: &lt;input type="text" name=graphics" size="8"/&gt; Wired Mac Add: &lt;input type="text" name="wired" size="17"/&gt; Wireless Mac Add: &lt;input type="text" name="wireless" size="17"/&gt;&lt;br /&gt; OS: &lt;input type="text" name="os" size="12"/&gt; Deploy Date: &lt;input type="text" name="deploy" size="12"/&gt; Last Check-up: &lt;input type="text" name="checkup" size="12"/&gt; &lt;input type="submit" value="Submit" /&gt; &lt;/form&gt; &lt;br /&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload