I'm struggling to align a paragraph element with a group of button elements using jQuery and CSS.
This is my issue:
My goal is to have all these elements on the same horizontal line at the top of the screen to make the most of the pixel real-estate. I want the "DesignName" text followed immediately by the buttons in a line.
This is how the elements are being added in the code:
var theDiv = $("#theDiv");
theDiv.append('<div id="buttonMenuDiv"></div>');
var buttonDiv = $("#buttonMenuDiv");
buttonDiv.append('<p id="DesignName" class="DesignName">DesignName</p>');
buttonDiv.append('<input type="button" id="MainMenu" value="Main Menu" >');
buttonDiv.append('<input type="button" id="NewModule" value="New Module" >');
buttonDiv.append('<input type="button" id="SearchDesigns" value="Search Designs" >');
buttonDiv.append('<input type="button" id="DesignDescription" value="Design Description" >');
buttonDiv.append('<input type="button" id="SaveWork" value="Save Work" >');
buttonDiv.append('<input type="button" id="PackageDesign" value="Package Design" >');
buttonDiv.append('<input type="button" id="Tutorial" value="Tutorial" >');
The "DesignName" class only defines font attributes (size, color) so I didn't include it. Appreciate any help.
(Struggling with using single quotes in the append() calls for editing)