It actually looks like there’s a line-break in there between the label (it’s not really a label, but you should wrap it in a label) and input. Remove the
tag and that will put the two on the same line.
Link to the page where I have the form
<form action="http://www.fleksibod.no/85-2" method="post">
</br>
Fra dato: <input name="dato" type="text" class="date" id="dato"/></br>
Fornavn: <input name="fornavn" type="text" id="fornavn" /></br>
Etternavn: <input name="etternavn" type="text" id="etternavn"/></br>
<input type="submit" value="Send bestilling" />
</form>
I’m not sure if I understand you correctly. Do you mean the “Fra dato:” text? If I understand you right I should wrap the text “Fra dato:”, “Fornavn:” and “Etternavn:” in a label. Which tag is it that you want me to remove?
Thanks!
Here’s what I see in your code:
Fra dato:<br />
<input name="dato" type="text" class="date" id="dato"/></br><br />
Fornavn:<br />
<input name="fornavn" type="text" id="fornavn" /></br><br />
Etternavn:<br />
<input name="etternavn" type="text" id="etternavn"/></br></p>
<input type="submit" value="Send bestilling" />
the tag between fra dato: and <input name=…> is what’s causing them to be on seperate lines.
Huh.. well of course.. that explains things!
Didn’t take a look at the source code because I figured it would be the same. Any clue to why the code is different than the code that I have implemented in my wordpress page? I have disabled the wysiwyg editor and still no luck…
Are you actually inserting it through the editor or is it a plugin?
Just inserting it through the editor. No plugin.
Have you tried wrapping a label around the Fra dato and such? like this:
<label>Fra Dato:</label><input ... />
Yes, I have tried that. I just don’t see why the extra
are inserted into my code… I have tried copying the code and inserting it into a new page, but the same
keep occuring…