I have the following DIV:
<div id="IDVal">
</div>
What I am doing is through Jquery passing a value for the id. I like to give a label to this div
to where the label and div tag’s text align properly horizontally. I am having a problem aligning a label with the DIV.
Make sure the
labelanddivhave the correcttext-aligncss property set. Also make sure that thedivis not addingpaddingor thelabelis not adding amargin. A good start would be to include CSS Reset in your site. Either copy the contents to the top of your existing CSS file or add this as a new CSS file to your project and include it before your main CSS file.