HTML & CSS
I'm trying to display the form (dropdown box) on the same line as the text,\
but display: inline is not working?
How do I do it then?
I can't see what form you are talking about.
The simple auto-submiottinng form thats nothing but a list box, im trying to make it be on the same line as the text.
If you mean the sort by location list (you could have been specific!) then it's sitting outside the <p> element, so can't sit with it. Even if you try to put the form inside the p, the browser might just close off the <p> anyway, so you will still be out of luck. An alternative is to remove the <p> element and just wrap a div around the text and form. Then the form will sit inline. You'll just have to style the text inside the div to match the styles you had on your <p>.
This topic is now closed. New replies are no longer allowed.