OK, damn. This is a CMS problem then. Ideally, it would be best to find where that code is coming from and fix it. But short of that, you could try adding something like this to your style sheet (as a dirty fix):
The .textcontent worked perfectly. It now displays side by side (finally). Are there any repercussions that using the .textcontent in my stylesheet will have?
It’s a very specific rule, so unlikely to have any other consequences. As I said, the ideal would be to fix the PHP that is creating those extra <p>s, as they are a bit of a mess. There’ another one between the input/labels and the submit butt that’s causing a gap in Safari but not FF, so it’s still not ideal. (Not sure if you’ve put that there or not, though, as I see it’s changing before my eyes!) Another rule could be written to hide that if it’s being caused by the system, but it’s still not the best solution.
I’ll have to check into the PHP part tomorrow (getting late here). Oh, one last quick thing - when aligning the radio buttons center they go back to being on top of each other. Could I just add a center text align to the .textcontent? If your unsure that’s ok, I don’t wanna consume anymore of your time then I already have!
Luxe, when you say you are editing this within the editor, where are you doing it specifically? Are you simply creating a new page and typing/pasting stuff in or something else? I am guessing the </p> are coming from working in the incorrect area. Are you making a type of contact form?
Ok, I assume you are typing into a box with bold etc such as the one here on the forum. If so, you are typing html into a WYSIWYG editor. So when you hit enter, it automatically inserts <p>'s. Where is the data coming from?
In Wordpress, you can have the box you type in either a WYSIWYG or a plain text. As a WYSIWYG editor, when you hit enter/return a <p></p> is automatically generated. Since it is WYSIWYG mode you only see the words you type - not the <p> and other HTML tags. In plain text mode, if you don’t put a <p> or a <br> you don’t get a line break.
You originally said:
am making an HTML form that returns data stored with PHP.
Usually forms are made to input or edit data. This is why I asked where is the data coming from, ie another form, database, etc.
Yes like you said the Wordpress Editor has a Visual Tab and a plain HTML Tab - I’ve been editing it in the HTML so the line breaks, etc. don’t get added automatically.