Darkmatter5 Posted September 24, 2008 Share Posted September 24, 2008 I have a php file with a form for MySQL manipulation where a DIV in that file doesn't line up to the DIVS above it and makes it not look nice and professional. Please help me figure out why the DIV isn't lining up correctly. I have attached a zip file with 5 files; 2 screenshots (clients and jobs) of a sheet that displays the DIVs correctly (clients) and a sheet that displays the DIVs incorrectly (jobs), a css file where the DIVs are constructed from and the php files of the 2 form pages (clients and jobs). The two DIVs in question are named content and status. Status is below content and should line up to the left edge of content, but in jobs, it's shifted to the right. Thanks in advance! [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
waynew Posted September 25, 2008 Share Posted September 25, 2008 This could be because of the <form> tag. As far as I know, it has some default padding on it (in some browsers). Maybe set the padding of your form tags to 0px? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.