How to make two <p> tags show in the same row

html, jquery

Solution

I suspect you want a style like:

p.cutsom_button { display : inline; }

Problem

I want to generate an add and delete in the same row near to each other. (Not in a table) ``` $("<p class='addChoice cutsom_button'><a href='#' class='btn lbOn addchoice'><span class='button_image'><span class='background_16 user_reply'>Add</span></span></a></p>").appendTo(".fieldChoices"); $("<p class='deleteChoice cutsom_button'><a href='#' class='btn lbOn deletechoice'><span class='button_image'><span class='background_16 user_reply'>Delete</span></span></a></p>").appendTo(".fieldChoices"); ``` How can I get both of them on the same row?

Original source